Commit Graph

5997 Commits

Author SHA1 Message Date
Adeeb Shihadeh 916c2ed588 loggerd: fix delayed exit from main thread
old-commit-hash: 5f36b4819970e11d4ffc2757f1d6a990b00881f7
2021-12-07 18:22:00 -08:00
Harald Schafer 37d577d399 Add TSS2 prius to TSS2 long tunes
old-commit-hash: 16bf562806b3204053697ace86b0a01dacbf5661
2021-12-07 16:06:43 -08:00
HaraldSchafer 0dbf0a0106 Cruise speed: up to 90mph max (#23161)
* Cruise speed: up to 90mph max

* update ref
old-commit-hash: d1b003c5d22fa7db9763886b08a2b8294aba5a30
2021-12-07 15:47:57 -08:00
Adeeb Shihadeh 9c702c779e whole new family (#23157)
* family two

* more volume

* repeating dm sound

* update tests
old-commit-hash: 1501c2e3768bc3469b56a9eca846db9f971ec81d
2021-12-07 13:45:49 -08:00
Jason Shuler cabd6c6b95 ui.h: add missing optional header include (#23160)
old-commit-hash: af275af38f2ac2eb031d2b7275765abcfd2f146a
2021-12-07 13:44:58 -08:00
Chris McCammon 1b0930bcbd Kia Niro EV fw (#23159)
old-commit-hash: 95c9cb35092196946e98507f9704aa27aeff7511
2021-12-07 13:01:43 -08:00
Dean Lee 1b8be22a4c DevicePanel: fix dangling reference to params (#23154)
old-commit-hash: 6e25ae9798bbdad55259333194b6f3c33679c475
2021-12-07 10:41:41 -08:00
Willem Melching e7bf88f29f Remove Raw Upload toggle (#23143)
* Remove Raw Upload toggle

* fix tests
old-commit-hash: 2e0c73fc0cbac64e442085390dd22e6b408d0478
2021-12-07 11:25:40 +01:00
HaraldSchafer b19b5fdb98 long planner: no reset when starting (#23149)
* long planner: no reset when starting

* let go to 2m/s

* update ref
old-commit-hash: 77a99e7d6dc021a69078f21923ad0fa2fae1a278
2021-12-06 23:10:16 -08:00
Adeeb Shihadeh 1ca1d7a673 increase loggerd per-cycle service limit to 200
old-commit-hash: f71a03f967a283991442eed69d1fa9857a54e463
2021-12-06 22:08:17 -08:00
Dean Lee a0c6a65d09 panda: refactor can_send (#22981)
* refactor

* merge master

* fix

* move  down

* space

* merge master

* remove struct PacketWriter, use function

* Update selfdrive/boardd/panda.cc

less violations

* Update selfdrive/boardd/panda.cc

comment

* Update selfdrive/boardd/panda.cc

add comment to counter

Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
old-commit-hash: 827fae8faa2c059cc833946dc3cc1414e8bc1f37
2021-12-06 20:04:25 -08:00
Adeeb Shihadeh f8146db9b9 loggerd: don't let a single service clog up the main thread
old-commit-hash: baf1a77ca293add06ed0407425a6216cff163bae
2021-12-06 19:31:11 -08:00
Harald Schafer 3a6a87ffe0 add a change cost
old-commit-hash: 9afc95474d34925d23f94484a680b117ab0a5b3c
2021-12-06 16:17:11 -08:00
Adeeb Shihadeh 4511a8f0ec fix startup test
old-commit-hash: 7e66a944b28b83fad0c27a4b399e28f1a7b1fa27
2021-12-06 14:40:42 -08:00
Comma Device aef1cbd1f8 fix UI build on comma two
old-commit-hash: 20dc4df0240caf32b720976093928ead1c587b3c
2021-12-06 14:34:20 -08:00
Adeeb Shihadeh 3dc321435e Remove NanoVG (#23147)
old-commit-hash: efa448d829657c3a146134f146c91b8751774d7e
2021-12-06 14:18:00 -08:00
Dean Lee 88ebf835bb UI: move rest of NVG to Qt (#23133)
* move ui_draw_world to qt

* draw world if world_objects_visible is true

* cleanup

* cleanup includes

* continue

* cleanup

* cleanup

* enable  multisampling on all devices
old-commit-hash: 20f571db3c37c6d009ca3d9a646874769aa07acd
2021-12-06 14:02:39 -08:00
Adeeb Shihadeh c01f1a8f31 tici: use powersave CPU governor while offroad (#23146)
* tici: use powersave CPU governor while offroad

* fix path
old-commit-hash: 5e20a46db6882c4f48160f7a9f98d695bcbea873
2021-12-06 13:53:55 -08:00
George Hotz 5b2ae31455 add yy to gitignore
old-commit-hash: d6ead1fe9fe4e498713ba0668f8a10624233e887
2021-12-06 09:28:29 -08:00
jimw ce83b94fa6 PC: fix onnxruntime excessive CPU (#23051)
* onnxruntime-gpu two threads

* relock pipfile

Co-authored-by: jwolffe <wolffja@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: db9ea45cd51a08efe349e8e7cd699f28bf86379c
2021-12-06 16:51:45 +01:00
Dean Lee 1473ec97da LogCameraInfo: remove unused variables (#23142)
old-commit-hash: ddc612e9f621f45e232af9e1a2329560bc4db418
2021-12-06 14:25:28 +01:00
Willem Melching e59fb59785 nav: open map on new route without valid OpenGL context (#23140)
old-commit-hash: 790a64af907331ee4ae9ae6fea388e4bba3bf5b0
2021-12-06 13:50:42 +01:00
Dean Lee 89318a9491 UI: draw header gradient in OnroadHud (#23137)
old-commit-hash: 8545901c0c3be079feded38bed05db1fa57fbe5f
2021-12-05 21:06:47 -08:00
Adeeb Shihadeh ef6f48ba4c remove ford fingerprints (#23136)
old-commit-hash: 795bdf4c61ed6ed26a1cb72674398177788fe2ad
2021-12-05 14:43:57 -08:00
Adeeb Shihadeh 87f707ec87 Honda: use new Bosch LKAS_HUD messages (#23000)
* Honda: use new Bosch LKAS_HUD messages

* enum value

* better name

* flip that
old-commit-hash: 0283942a9538d121b783dba89be2c2d4e7fd40f8
2021-12-05 13:51:33 -08:00
Comma Device e91843ec1c fix sound test
old-commit-hash: cc1699707fd490262616c232c29a23a3949979f9
2021-12-05 13:33:12 -08:00
Dean Lee 53c7684956 OnroadHud: update engageability and DM icons at 2Hz (#23134)
old-commit-hash: 5ab6bff67016585edbbec134123c54db2e471599
2021-12-05 12:54:35 -08:00
Jason Wen a9a5f1933e HKG: Add FW for 2022 Kia K5 (#23131)
old-commit-hash: fa952f650d282e329247fb0cf2d68c9a8cc8ca25
2021-12-05 12:47:24 -08:00
Dean Lee 2da9327191 UI: move onroad hud to Qt (#23040)
* onroad hud

* improve boudingrect, same as nanvg

* QRect

* Update selfdrive/ui/paint.cc

* stacked with nvgWindow

* cleanup ui.h

* rename to road_view_layout

* no lambda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad09507e1ba2d758fe435d06a3dc28def33c14e8
2021-12-04 23:02:10 -08:00
khoi 5b15ded828 Add 2021 Toyoto Corolla Cross Non-Hybrid (Thailand version) (#23123)
old-commit-hash: 1f731926958be8cd3720dec6233f9afbc3e509ed
2021-12-04 22:53:23 -08:00
Adeeb Shihadeh 2f51cbab73 thermald: only go offroad on falling edge of ignition (#23130)
* thermald: only go offroad on falling edge of ignition

* and

* fix taht
old-commit-hash: 4803b26352ce691b22b371e9d5140c61646d4964
2021-12-04 22:17:44 -08:00
Adeeb Shihadeh fc641646ed updated: move update alerts out of thermald (#23028)
* updated: move update alerts out of thermald

* cleanup last update time

* set on startup
old-commit-hash: b79eaca18df6535066a23a128d124f75e8bb6bdd
2021-12-04 22:15:55 -08:00
Dean Lee 3ba7f99688 move struct LogCameraInfo into loggerd.h (#23129)
old-commit-hash: 480fb54926392b760944f5fafe7b4c96abee29ff
2021-12-04 21:08:55 -08:00
Adeeb Shihadeh de54dd20ec jenkins: improve overall robustness (#23117)
* test onroad: more reliable log finding

* Update selfdrive/test/test_onroad.py

* write continue.sh in device setup

* clone

* try different delimeter

* try this instead

* fix keys path

* executable

* remove orphaned lock
old-commit-hash: 7c291a1b39d48a50761403dc4f1ddd78f25815ec
2021-12-04 21:07:57 -08:00
Jason Young 5dd1a30d51 VW MQB: Audi Q3 Mk2 (#23128)
old-commit-hash: 8a4ab7f46d6d7666c8abab3168dcf91dd7ec1890
2021-12-04 18:55:02 -08:00
Adeeb Shihadeh 4d43279023 registration: remove key generation (#23111)
* registration: remove key generation

* add test
old-commit-hash: 9ceb1a15eb87ba9ea5d7c8dbcc176f2466c82338
2021-12-03 22:58:34 -08:00
grekiki 9e4cc1f7ff Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

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

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6951b3271d1770297cb6bd53878463035ec0bf43
2021-12-03 22:57:19 -08:00
cydia2020 21bad1adc6 Toyota: remove unused ACCEL_HYST_GAP (#23121)
* fix typo in comments

* remove hyst gap from values.py
old-commit-hash: b8c42d01ebe5e69a63d3e48edcd973e030c05fec
2021-12-03 22:56:11 -08:00
Igor Biletskyy be3a376967 len_to_dlc make static (#23120)
old-commit-hash: e294e1620e1d23dfbe582230e829343406731efe
2021-12-03 16:37:17 -08:00
HaraldSchafer 3afc818433 Long policy: strictly squared stopped equivalence function (#23118)
* new ref

* never let lead stopped equivalence go down

* no overbraking

* stricter again

* cleanup

* updated refs
old-commit-hash: 0dcdf9c30fdb14e907015cb2b0195238e6121b05
2021-12-03 16:12:30 -08:00
Chris McCammon 03056baec1 Honda Pilot fw (#23119)
old-commit-hash: 9e51befe182fd7c48941f1efa907d064bffddf38
2021-12-03 16:11:15 -08:00
Willem Melching 23ef06428a add desired angle to log (#23115)
* add desired angle to log

* update ref

* bump cereal
old-commit-hash: bbd0f94d9d72e86fec79269b9decd424d0050872
2021-12-03 21:35:34 +01:00
Willem Melching b8ab21bd64 add CarParams.wheelSpeedFactor (#23079)
* add CarParams.wheelSpeedFactor

* Fudge speed for Lexus RX

* should have been the TSS2 model

* bump cereal

* refactor into function

* update refs
old-commit-hash: e6180738fdc4c55ba913905e6591de5435966eb1
2021-12-03 14:57:53 +01:00
HaraldSchafer c6964152bb Reaction buffer on follow distance (#23112)
* Reaction time buffer

* new ref
old-commit-hash: 5b0e10ea33e89fb1c8132cf9014a3a927e93bd6f
2021-12-02 23:56:02 -08:00
Adeeb Shihadeh 7dbffc72c0 soundd: fix test for repeating soundsgitt status (#23110)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 37e2de22443abe1a6ad37f3bbf91aba18b52fa48
2021-12-02 19:55:19 -08:00
Dean Lee 95f54ffb39 soundd: use setLoopCount(0) to stop repeating sound (#23076)
* use setLoopCount(0) to stop sound

* print default backend name
old-commit-hash: 35885745f1b4fcaafee2ed7276de491e6df018d2
2021-12-02 16:40:10 -08:00
Dean Lee 15bac98ad4 panda: refactor can_recv (#22977)
* refactor

* use macro

* rebase master

* fix incorrect chunk_len

* cleanup

* type fix

* lines

* while

Co-authored-by: Igor Biletksyy <bs@privacy.im>
old-commit-hash: 599c07e02793e64bfb5de97febe850992a1e73e8
2021-12-02 16:28:38 -08:00
flightguy2 f3598c5b8b 2019 Lexus NX FW versions (#23106)
old-commit-hash: 0ee6f42a8e0a66b6271ec4628c2e5d3deca8c136
2021-12-02 16:12:29 -08:00
HaraldSchafer 08ac1b33ba Human inspired follow distance (#22937)
* Add cost for creep

* more reasonable cost

* seems better than before

* science tune

* more chill

* closer follow

* stopping takes some leeway

* better cruise

* needed to be cumsum all along

* jerk not even needed

* matches better

* 6 is too much

* add back

* a little extra buffer is good for badly tuned cars

* new refs

* refs again
old-commit-hash: 46fd5892bf41add3dc15d413bced81693d0f8853
2021-12-02 14:42:13 -08:00
HaraldSchafer 84fb21842b add tss2 highlander to tss2 tune (#23107)
old-commit-hash: 316a10bb6b32b75bf76f7c73d9247d7220a02298
2021-12-02 14:01:17 -08:00