Commit Graph

8267 Commits

Author SHA1 Message Date
Dean Lee e8478e81c7 ui/map: update destination on param change (#28957)
* update destination on param change

* use ParamWatcher

* remove include
old-commit-hash: d47d8808d1f973e4765a3fc806bcce6d33681048
2023-07-16 13:48:33 -07:00
Dean Lee 80e7b739b4 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>
old-commit-hash: b4f7e76531cfa378ff231b399b3910b4fb996363
2023-07-16 13:17:16 -07:00
Cameron Clough 645479775d Ford: set CAN FD safety param (#28979)
old-commit-hash: d0e6076059e534874148ad5aecaea683dea35ec6
2023-07-16 13:00:42 -07:00
Cameron Clough 8c7e9b5cea Ford: sort FW versions
old-commit-hash: f30b859eca878d68f0eb94dfab0c1cb18e57f991
2023-07-16 16:09:18 +01:00
Adeeb Shihadeh d6b8eed74d boardd: misc cleanup (#28969)
* boardd cleanup

* no more front frame

* faster connect loop

* fix that on mac
old-commit-hash: c933fbb0748106bb8b1e4c1e875eb6c83b7e7b52
2023-07-15 23:39:21 -07:00
Harald Schäfer 1fd2125bfa Laikad cpu usage: enable test onroad (#28926)
* enable test onroad

* Better

* specify range

* fix printing

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7613f6918bb22ace90887e6025ee1e6cb93050ed
2023-07-15 23:06:42 -07:00
Adeeb Shihadeh 2bb54ba49a pandad: enable tres release -> bootstub test (#28930)
enable tres

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a46ed955e653152ab8fbfb23f482da39045cd702
2023-07-15 22:22:56 -07:00
Adeeb Shihadeh b8de120d86 boardd: read spi resp len with ack (#28966)
old-commit-hash: 3390f1e1df3ea70a30b51fc105d08e769b29892a
2023-07-15 20:13:19 -07:00
Dean Lee 46d64e90e6 dmonitoring: use sizeof(float) instead of hardcorded size (#28963)
old-commit-hash: 8dcd92253b3117378cc39fa43111419ec3b4d832
2023-07-15 10:30:50 -07:00
Dean Lee cba02f9a59 ui/map: fix wrong remaining time (#28960)
old-commit-hash: 53934c7fee3da1aa7ee752c53796f3859e156815
2023-07-15 13:28:21 +01:00
Dean Lee b81910128d ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 187696977e32c0042b9141d6042e8dddb507fceb
2023-07-15 11:37:41 +01:00
Shane Smiskol 78939ebcbd navd: add repr method to Coordinate (#28959)
* repr coordinate for debugging

* fix

* stash

* better formatting
old-commit-hash: cbde480cb9dc82106b4056eb81a921c5c04ee5b7
2023-07-14 21:42:01 -07:00
Shane Smiskol bbd3b3bc75 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
old-commit-hash: f495c21805583f19e5cd4bd56b8b0445c74f35b3
2023-07-14 21:41:30 -07:00
Shane Smiskol ce88b7cf51 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
old-commit-hash: f6390c6e4092ee69ea73753419b86dd9d8b5cf27
2023-07-14 16:24:07 -07:00
Shane Smiskol 718fabb4d5 test_models: fix rx message bus (#28947)
Update test_models.py
old-commit-hash: c9c636bdd7de6a22e34fd2cbcbc8d5e612f4cfad
2023-07-14 14:04:24 -07:00
Dean Lee b8110a90d2 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
old-commit-hash: e958ce1c313f3dbe8724bf3d574bc12305862ebb
2023-07-14 12:22:35 -07:00
Dean Lee 9212a16e54 ui/map: cache navigation images at startup (#28783)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: ccfca97dfc08f2d7a583fe268bb816c5ae47fc6b
2023-07-14 20:18:49 +01:00
Cameron Clough aa0c37ed21 modeld: comment out unused variables (#28944)
old-commit-hash: ce0717670b98acb0e523823df2d60009918566be
2023-07-14 17:45:00 +01:00
Shane Smiskol f06e9bd2dc Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
old-commit-hash: dd98dc48a1d599e0c5e167e422ecfd376f4a6769
2023-07-14 06:00:59 -07:00
Shane Smiskol d456293479 GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
old-commit-hash: 653daba9edad96215e16ab13089aed214e3e264d
2023-07-14 05:58:17 -07:00
Shane Smiskol 296de39f48 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
old-commit-hash: f973d605b2121a575a46f4a18dfcbb2df1f4816b
2023-07-14 05:26:59 -07:00
dkondratov 1debe458ce 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>

old-commit-hash: 5d67fe2a91022a89bcceda1f4b9b2e31e1e0bdbb
2023-07-14 11:58:08 +01:00
Shane Smiskol 28c64e4856 CanBusBase: fix offset calculation (#28938)
old-commit-hash: f99ac84b5ca8f48d044c4eaf0164b07c7b270fa0
2023-07-14 11:06:22 +01:00
Shane Smiskol 7eaa74b083 test car interfaces: support pytest (#28937)
sort
old-commit-hash: af7b2e4dd4ae026f18c526ac20e2a61adf56274f
2023-07-14 01:48:36 -07:00
Shane Smiskol 29bbd75291 test car interface: fuzzy experimental long (#28936)
fuzzy exp long
old-commit-hash: 4ed9dec6f460aaeac8616ef06c7da2171b31c3b0
2023-07-14 01:25:01 -07:00
Shane Smiskol 945169aa2c test_onroad: lower ui CPU usage (#28927)
lower from multiple runs
old-commit-hash: c541074669fad39d73ea7a87574d3006c48b6ce5
2023-07-13 23:47:12 -07:00
Shane Smiskol 70255e2f19 FuzzyGenerator: return bytes for data (#28932)
generate bytes
old-commit-hash: 77339af1c057b1ed5aa7d36316ac6b3166f302d6
2023-07-13 23:43:08 -07:00
Shane Smiskol 8e89512da7 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.
old-commit-hash: 936bfcd7bafbb9a102f726fe903c9aa9e46c4283
2023-07-13 20:38:49 -07:00
Jason Wen 82899dbdbb HKG: Add FW Versions for China Kia Carnival 2023 (#28918)
old-commit-hash: 682a240c366f2172993d72bc57a99bae1787851f
2023-07-13 17:51:58 -07:00
Adeeb Shihadeh e83ec32c7b dmonitoringmodeld: add more logging around the init (#28920)
old-commit-hash: 8d13ddb943de02a1d8f9f593896aa24ae38db34c
2023-07-13 11:58:51 -07:00
Shane Smiskol b8cc63bc76 Hyundai: add Ioniq 6 platform (#28915)
old-commit-hash: bc24783657bfdd43662dc0e3451c67adbc86bfdf
2023-07-13 12:49:38 +01:00
Dean Lee 1c2f2d52e1 ui/MapSettings: sort location JsonArray inplace (#28886)
old-commit-hash: c3fe3c816298fc862b3136a7f52822a4c0525393
2023-07-13 10:59:46 +01:00
Shane Smiskol e9c0c9b693 map panel: show map on interactive timeout (#28904)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: daf80eaef55bf598325b4f771b28c094df64559b
2023-07-13 10:35:57 +01:00
Dean Lee 387f6b6bf6 ui/map: handle & display error in MapWindow (#28854)
old-commit-hash: ae4a375dd658dbb2b5c3093a097100d7c0e1040a
2023-07-13 10:26:58 +01:00
Shane Smiskol 222f7f6727 ui: singleton Device instance (#28908)
* singleton

* remove awake
old-commit-hash: b8dd4dcc288361f51f7664ef82055bfb47d83513
2023-07-12 18:36:44 -07:00
Shane Smiskol b9aa2c232f ui: fix timeout typo (#28905)
tim is out -> timeout
old-commit-hash: d68bd905fc9440352007e115c0f46dc9c0b4e402
2023-07-12 13:09:42 -07:00
Kacper Rączy fe84dadaa5 controlsd: support for SIMULATION mode for process replay (#28895)
* Support for simulation flag while replay

* Update cereal

* Enable simulation for controlsd

* Update ref commit

* Update cereal
old-commit-hash: 72579a0e1081ecec5c414250831bedcecdc3bdc4
2023-07-12 10:32:02 -07:00
Shane Smiskol 24bd763e45 ui: reset nav status on offroad transition (#28897)
* need to do this

* actually better to clear it on offroad transition, then onroad transition will be fine
old-commit-hash: c158537df69c21dc0f134774cdd02b48dfbadeeb
2023-07-11 19:04:41 -07:00
Matt Barclay e2b1c4d2fb Update Toyota RAV4H_TSS2_2023 Fingerprint (#28891)
Added eps value for japan built RAV4H 2023
old-commit-hash: b56aabb74ea89d77d7c0d2a2e2ce36ab178b95f2
2023-07-11 14:51:33 -07:00
Shane Smiskol 37ee12de52 ui: show map with nav (#28867)
* accept touch events in map settings

* draft

* draft 2.0

* revert this stuff

* need this

* fix

* clean up debug prints

* fraft

* only show map on closeSettings if nav

* works!

* can't do it here

* I was going to connect signals from UIState to HomeWindow, then to OnroadWidget, but that seems like too much

* just need to keep track of it in onroad, seems like the cleanest option

* ideally we show the map where we set the scene variable, and that's in map.cc

* old variable

* comments

* less confusing

* app comment

* add back

* fix

* move to top

* remove this comment
old-commit-hash: 34a5e626d6f55cd33bc292e4f9d4a21e1fd2972b
2023-07-11 14:49:19 -07:00
Cameron Clough 077c687827 athenad: log connection retries and duration (#28888)
old-commit-hash: 9ecf98c4ce52dc8ecf7be7e7cb000370d78f1a72
2023-07-11 21:40:59 +01:00
Cameron Clough 9716affb3b nav: hide settings on map request visible (#28884)
old-commit-hash: 6643616c475a2a9a884352af19233e596eb5e9e3
2023-07-11 21:40:33 +01:00
Harald Schäfer ef407c9ad9 Qcom rawgps: Timestamp svpolys (#28738)
* Timestamp svpolys

* leap seconds handled fine

* Fix error

* bump laika

* Update test route

* update ref
old-commit-hash: 47ee0932db6911dd7fc064ae3a17e929d341c94e
2023-07-11 13:22:09 -07:00
Lee Jong Mun 912418808a Multilang: kor translation update (#28885)
kor translation update
old-commit-hash: 92b5f0b5e57f61ab3bc4ebd0c76dc655ac30c904
2023-07-11 13:06:11 -07:00
Harald Schäfer 00dace19a9 Qcom laikad: Update expected msgs (#28887)
Update expected msgs
old-commit-hash: 0a510f2eddcdc589e062a6453541ddc9f94a10a2
2023-07-11 08:52:09 -07:00
Cameron Clough 6b3daee3d3 UI: preserve recent destinations sort order (#28881)
old-commit-hash: 4d61d680b256b38251bd8231d2e4aeb2e31f28de
2023-07-11 12:39:06 +01:00
Dean Lee 261d7ed673 ui/map: singleton navigation requests (#28862)
old-commit-hash: 8149c07fac9aa651608aa761f50744edcb5b9ea1
2023-07-11 11:42:10 +01:00
Dean Lee 573e1ddbc4 ui: capnp best practices (#28877)
old-commit-hash: d34138e2759e8067e9d7d005957e29a23684c71c
2023-07-11 10:26:57 +01:00
Dean Lee 22b1baff64 ui/map: don't clear eta when map is hidden (#28878)
old-commit-hash: 4544b40b7077b9aa7447c8fee1d0b254397eec65
2023-07-11 10:23:45 +01:00
Harald Schäfer 71e5af04c3 Laikad: fix qcom report collection (#28879)
* Make report aggregation variable

* Add laikad test now it passes

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 221cd0ab09fb3e33db010efde52459148e0aba2a
2023-07-11 01:25:49 -07:00