Commit Graph

8898 Commits

Author SHA1 Message Date
Adeeb Shihadeh 99c9cf0c02 mapsd: set nice value (#28994)
Co-authored-by: Comma Device <device@comma.ai>
2023-07-17 14:36:02 -07:00
Adeeb Shihadeh 9cec7fa1a8 Revert "mapsd: release MapRenderer on exit (#28988)"
This reverts commit 70b2a5220f.
2023-07-17 14:05:52 -07:00
Cameron Clough ed8f17df65 Ford: add back FW query ECU whitelists (#28993)
Partial revert of changes in #28974.
2023-07-17 13:46:47 -07:00
Dean Lee 70b2a5220f mapsd: release MapRenderer on exit (#28988) 2023-07-17 12:57:58 -07:00
Adeeb Shihadeh d2fa746b12 boardd: use full buffer size 2023-07-17 12:44:10 -07:00
Cameron Clough 915aec3f5c athenad: test connection timeout (#28864) 2023-07-17 20:21:52 +01:00
Adeeb Shihadeh cd02ab6358 mapsd: more reliable test (#28985)
* mapsd: more reliable test

* better wait

* should be good

* fix frame id

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-17 10:58:39 -07:00
Cameron Clough 17e71cdf44 Ford: add F-150 2023 support (dashcam only) (#28974) 2023-07-17 16:16:28 +01:00
Dean Lee 1afdca2ef1 ui/MapSettings: remove call to clearLayout (#28961) 2023-07-17 15:32:28 +01:00
eFini 454a5e8a26 Multilang: Chinese (Traditional) translations update (#28984) 2023-07-16 21:54:55 -07:00
Adeeb Shihadeh 2720fdf2a1 pandad: check comms protocol version (#28983)
* proto version check

* bump panda

* update bootstub

* test

* bump panda

* fix that

* bump panda

* fix test case

* more fix

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-16 21:33:24 -07:00
Eric Brown 22c413af6d Events: debug script (#28898)
* Move to separate branch

* Fix mypy

* Better printout

* Fix spacing

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-16 16:59:27 -07:00
Adeeb Shihadeh 5b86268635 nav: always publish map and run model (#28924)
* always render

* more test

* test case

* update test

* vipc checks

* clear cache

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-16 15:37:13 -07:00
Adeeb Shihadeh e2b5d1e29a mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
2023-07-16 14:39:34 -07:00
Dean Lee d47d8808d1 ui/map: update destination on param change (#28957)
* update destination on param change

* use ParamWatcher

* remove include
2023-07-16 13:48:33 -07:00
Dean Lee b4f7e76531 ui/util: add a helper class ParamWatcher (#28978)
* new class ParamWatcher

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.h

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-16 13:17:16 -07:00
Cameron Clough d0e6076059 Ford: set CAN FD safety param (#28979) 2023-07-16 13:00:42 -07:00
Cameron Clough f30b859eca Ford: sort FW versions 2023-07-16 16:09:18 +01:00
Adeeb Shihadeh c933fbb074 boardd: misc cleanup (#28969)
* boardd cleanup

* no more front frame

* faster connect loop

* fix that on mac
2023-07-15 23:39:21 -07:00
Harald Schäfer 7613f6918b Laikad cpu usage: enable test onroad (#28926)
* enable test onroad

* Better

* specify range

* fix printing

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-15 23:06:42 -07:00
Adeeb Shihadeh a46ed955e6 pandad: enable tres release -> bootstub test (#28930)
enable tres

Co-authored-by: Comma Device <device@comma.ai>
2023-07-15 22:22:56 -07:00
Adeeb Shihadeh 3390f1e1df boardd: read spi resp len with ack (#28966) 2023-07-15 20:13:19 -07:00
Dean Lee 8dcd92253b dmonitoring: use sizeof(float) instead of hardcorded size (#28963) 2023-07-15 10:30:50 -07:00
Dean Lee 53934c7fee ui/map: fix wrong remaining time (#28960) 2023-07-15 13:28:21 +01:00
Dean Lee 187696977e ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-15 11:37:41 +01:00
Shane Smiskol cbde480cb9 navd: add repr method to Coordinate (#28959)
* repr coordinate for debugging

* fix

* stash

* better formatting
2023-07-14 21:42:01 -07:00
Shane Smiskol f495c21805 FuzzyGenerator: typing (#28934)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* do we need draw??

* draft

* this was confusing

* revert

* draft

* Revert "draft"

This reverts commit c593a03474b04d4df2648d8149798196c991a108.

* draft

* more typing!

* complete typing

* fix that

* cleanup

* better
2023-07-14 21:41:30 -07:00
Shane Smiskol f6390c6e40 test_models: don't skip test cases with multiple pytest jobs (#28953)
* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
2023-07-14 16:24:07 -07:00
Shane Smiskol c9c636bdd7 test_models: fix rx message bus (#28947)
Update test_models.py
2023-07-14 14:04:24 -07:00
Dean Lee e958ce1c31 ui: set max brightness when showing the QR code (#28907)
* set max brightness when showing the QR code

* set brightness in ui

* set in device
2023-07-14 12:22:35 -07:00
Dean Lee ccfca97dfc ui/map: cache navigation images at startup (#28783)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-14 20:18:49 +01:00
Cameron Clough ce0717670b modeld: comment out unused variables (#28944) 2023-07-14 17:45:00 +01:00
Shane Smiskol dd98dc48a1 Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
2023-07-14 06:00:59 -07:00
Shane Smiskol 653daba9ed GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
2023-07-14 05:58:17 -07:00
Shane Smiskol f973d605b2 experimental mode: gate navigate on openpilot (#28883)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed
2023-07-14 05:26:59 -07:00
dkondratov 5d67fe2a91 Adding FW for 2023 Volkswagen Arteon (#28913)
5ac586afbb236b5d|2023-07-09--00-37-19

VIN: WVWTR7AN7PE011676

Co-authored-by: RC7777 <31451749+RC7777@users.noreply.github.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-14 11:58:08 +01:00
Shane Smiskol f99ac84b5c CanBusBase: fix offset calculation (#28938) 2023-07-14 11:06:22 +01:00
Shane Smiskol af7b2e4dd4 test car interfaces: support pytest (#28937)
sort
2023-07-14 01:48:36 -07:00
Shane Smiskol 4ed9dec6f4 test car interface: fuzzy experimental long (#28936)
fuzzy exp long
2023-07-14 01:25:01 -07:00
Shane Smiskol c541074669 test_onroad: lower ui CPU usage (#28927)
lower from multiple runs
2023-07-13 23:47:12 -07:00
Shane Smiskol 77339af1c0 FuzzyGenerator: return bytes for data (#28932)
generate bytes
2023-07-13 23:43:08 -07:00
Shane Smiskol 936bfcd7ba ui: use stencil buffer to draw polygons (#28902)
* Update ui.cc

* add a bunch of debugging stuff i don't want to lose

* Revert "add a bunch of debugging stuff i don't want to lose"

This reverts commit 2de6ab5b68bc528e913db68f7fe576b6ebe89a9b.

* enable stencil buffer

* lower ui CPU usage

* Revert "lower ui CPU usage"

This reverts commit 650241c0d89c1476de3995f1dc3f87f671dd1dd7.
2023-07-13 20:38:49 -07:00
Jason Wen 682a240c36 HKG: Add FW Versions for China Kia Carnival 2023 (#28918) 2023-07-13 17:51:58 -07:00
Adeeb Shihadeh 8d13ddb943 dmonitoringmodeld: add more logging around the init (#28920) 2023-07-13 11:58:51 -07:00
Shane Smiskol bc24783657 Hyundai: add Ioniq 6 platform (#28915) 2023-07-13 12:49:38 +01:00
Dean Lee c3fe3c8162 ui/MapSettings: sort location JsonArray inplace (#28886) 2023-07-13 10:59:46 +01:00
Shane Smiskol daf80eaef5 map panel: show map on interactive timeout (#28904)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-13 10:35:57 +01:00
Dean Lee ae4a375dd6 ui/map: handle & display error in MapWindow (#28854) 2023-07-13 10:26:58 +01:00
Shane Smiskol b8dd4dcc28 ui: singleton Device instance (#28908)
* singleton

* remove awake
2023-07-12 18:36:44 -07:00
Shane Smiskol d68bd905fc ui: fix timeout typo (#28905)
tim is out -> timeout
2023-07-12 13:09:42 -07:00