Commit Graph

5529 Commits

Author SHA1 Message Date
Adeeb Shihadeh 092c728e76 fix unnecessary harsh steering unavailable alerts (#21541) 2021-07-10 01:53:14 -07:00
Dean Lee aee2b893a7 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 01:43:47 -07:00
sshane 16e4f432bf Toyota: handle models with permanent low speed lockout (#21512)
* ignore permanent low speed lockout

* should always check in case not seen

* use cp_cam

* not bus 0

* change signal name according to ref dbc

* bump

* we don't rely on this

* bump

* Revert "Toyota: debug logging for low speed lockout (#21526)"

This reverts commit 7f2ad50fed.

* add back

* always add

* pass acc_type through

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* only update acc_type if not enableDsu

* only add when using

* only for openpilot long cars

* only seen TSS2

* add todo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-09 22:55:47 -07:00
Adeeb Shihadeh 69160375c6 fixup timing script 2021-07-09 21:12:18 -07:00
Adeeb Shihadeh d11b0c06bf debug script for checking timings 2021-07-09 21:08:16 -07:00
Harald Schafer 8c4582c87a new refs 2021-07-09 16:38:23 -07:00
Harald Schafer f60d169bb4 upload original 2021-07-09 16:32:04 -07:00
Harald Schafer 1979005e82 update 2021-07-09 16:31:34 -07:00
Harald Schafer 472442111b fix exclude pattern 2021-07-09 15:51:08 -07:00
Adeeb Shihadeh b5965400fe release notes from research 2021-07-09 15:30:05 -07:00
Harald Schafer 0cbb3b44e2 rm debug print 2021-07-09 15:14:05 -07:00
Adeeb Shihadeh 22a8433a84 send real frames in regen 2021-07-09 15:11:47 -07:00
kennedyshead ffe4f42b45 Tesla Model S AP1 fingerprint (#21535) 2021-07-09 12:29:50 -07:00
HaraldSchafer 148c202bc4 less np (#21536) 2021-07-09 11:34:00 -07:00
Willem Melching 35a5aae334 nav: hide ETA on destination reached 2021-07-09 11:28:53 +02:00
Willem Melching 779d6479b4 nav: cleanup error messages 2021-07-09 11:16:51 +02:00
Adeeb Shihadeh 7f2ad50fed Toyota: debug logging for low speed lockout (#21526)
* Toyota: debug logging for low speed lockout

* add to parser

* add car
2021-07-08 15:40:08 -07:00
Adeeb Shihadeh ae92ce227d bump cereal 2021-07-08 14:41:49 -07:00
Willem Melching 47be6c751e Refactor camerad exposure logging (#21506)
* simplify gain logging

* clean up metadata

* log grey fractions

* those are not used

* set grey fracs in message

* fix qcom
2021-07-08 15:22:00 +02:00
Willem Melching 9ea913bcc8 nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
2021-07-08 14:33:58 +02:00
Dean Lee 13b2ce9391 UI: remove zoom from struct UIState (#21520) 2021-07-08 10:42:34 +02:00
sshane 648639787c Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit 54b6a9f121.

* set activeAp after scan so it's not blocking

* Revert "Revert "Qt logging through cloudlog (#21452)""

This reverts commit d9689a55057d53f7afe8e2ea28542eb80175a705.

* clean up

* move to another PR
2021-07-07 21:48:46 -07:00
Dean Lee b7f8c6ad03 qt/spinner: reduce CPU usage from 17% to 12% (#21495)
* faster spinner

* initApp

* no brightness

* Update selfdrive/ui/qt/util.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-07 21:19:56 -07:00
Dean Lee 5be75f5354 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh 5a20cc6cae fix offroad alert precedence (#21517) 2021-07-07 20:07:27 -07:00
Adeeb Shihadeh b4278baf8c remove unused can fingerprints (#21516) 2021-07-07 19:59:17 -07:00
Adeeb Shihadeh 0a06c09539 add kia niro to release notes 2021-07-07 19:58:33 -07:00
HaraldSchafer 4230d5d212 New desire model (#21458)
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900

* Enable keeps

* use new packet

* Send keep pulses once per second

* Updated model_replay_ref_commit

* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac

* Bump model_replay_ref_commit

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
2021-07-07 19:44:17 -07:00
HaraldSchafer be5ddd25cd Refactor long (#21433)
* refactor

* needs casting

* tests pass

* fix that test

* refactor in controls

* lets not go crazy

* change of names

* use constants

* better naming

* renamed

* soft constraints

* compile slack variables

* rm git conflict

* add slack variables

* unused

* new edition

* fcw

* fix tests

* dividing causes problems

* was way too slow

* take a step back

* byeeee

* for another time

* bad idxs

* little more cpu for cruise mpc

* update refs

* these limits seem fine

* rename

* test model timings fails sometimes

* add default

* save some cpu

* Revert "little more cpu for cruise mpc"

This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.

* Revert "test model timings fails sometimes"

This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.

* update refs

* less cpu

* Revert "Revert "test model timings fails sometimes""

This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.

* Revert "less cpu"

This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.

* cleanup

* not too much until we clean up mpc

* more cost on jerk

* change ref

* add todo

* new ref

* indentation
2021-07-07 19:42:26 -07:00
Jason Young cfe97fcc49 HKG: 2019 Kia Niro PHEV (#21481)
* Testing addition of 2019 Kira Niro PHEV

* Testing addition of 2019 Kia Niro PHEV

* Fix typos

* Remove bad Optima fw, switch Niro to FPv2

* Set minimum steer speed for 2019 Kia Niro HEV/PHEV

* Add 2019 Kia Niro PHEV to README

* Fix typo

* apparently we get trailing garbage sometimes

* No FCA11 message, also use ELECT_GEAR

* i am not good with alphabet

* Add test route for Niro HEV

* Remove LFA for 2019; no legacy safety

* minSteerSpeed handling

* vehicle disengages SCC below 10mph

* no longer need Genesis specific code for minSteerSpeed

* simplify
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh 6d4307e9f7 issue templates: add note about uploading logs and remove redundant field 2021-07-07 19:02:44 -07:00
Adeeb Shihadeh 685e33c067 improved commIssue logging (#21515) 2021-07-07 18:43:41 -07:00
Greg Hogan d066b8f7e8 upload can only create (#21513) 2021-07-07 18:28:06 -07:00
Adeeb Shihadeh 7d59129c28 jenkins: verbose fetch 2021-07-07 17:32:01 -07:00
HaraldSchafer 2aadf8beb2 Remove DM high std alert (#21501)
* cleaner

* no face and high stds is the same

* change test

* final clean

* need to deprecate
2021-07-07 17:08:55 -07:00
Adeeb Shihadeh 53430f87a0 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
2021-07-07 16:03:55 -07:00
Adeeb Shihadeh c72d163e14 deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
2021-07-07 14:59:18 -07:00
Adeeb Shihadeh a816206581 bump opendbc 2021-07-07 13:14:58 -07:00
kennedyshead d9c749c118 Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
2021-07-07 21:40:10 +02:00
Willem Melching d101000852 nav: add source to route logging 2021-07-07 16:22:45 +02:00
Adeeb Shihadeh e773749f32 fix default tethering password 2021-07-06 19:33:08 -07:00
Willem Melching 6feafc0042 tici: use LSM6DS3 (#21496) 2021-07-06 23:02:54 +02:00
grekiki b3a792305e plotjuggler: add segment_count arg (#21474) 2021-07-06 13:57:03 -07:00
Adeeb Shihadeh a6efe9a6b7 remove modem logging (#21497) 2021-07-06 13:51:45 -07:00
Ross Fisher f40e75edf8 Rav4 TSS2 has two different steering racks (#21429)
Split tuning on eps fwVersion \x02 only. See https://github.com/commaai/openpilot/pull/21429#issuecomment-873652891 for findings.

Unify Rav4 & Rav4 Hybrid

Average mass between ICE & Hybrid

Co-Authored-By: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-07-06 19:48:04 +02:00
Adeeb Shihadeh 266d1bdeac agnos 0.20 (#21488)
* agnos 0.20

* prod image
2021-07-06 10:32:10 -07:00
Dean Lee 4145988756 installer.cc: fix wrong db path (#21494) 2021-07-06 10:14:07 -07:00
Adeeb Shihadeh ec00e71b64 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
2021-07-05 23:48:10 -07:00
Jason Young 615ebb9f82 VW MQB: Add FW for 2019 Volkswagen Atlas (#21491) 2021-07-05 19:42:54 -07:00
Adeeb Shihadeh a44072753d updated: clear overlay on exception (#21489) 2021-07-05 19:27:06 -07:00