Commit Graph

12670 Commits

Author SHA1 Message Date
Shane Smiskol 96c2d9358e CarInterface: no platform config fallback (#31873)
* no mock default

* rm
old-commit-hash: d5852ab1b3
2024-03-14 22:27:32 -07:00
Justin Newberry 1f178307f0 move getting platform to get_params (#31871)
* better

* string

* not here
old-commit-hash: ca5a2ed942
2024-03-14 21:58:25 -07:00
Justin Newberry 006f216cdb controlsd: fix saturation warning (#31869)
fix saturation
old-commit-hash: 1ecbbef46b
2024-03-14 18:03:39 -07:00
thomasgtsr d50423df1e Hyundai: Santa Cruz 2024 fingerprint (#31856)
* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* Update fingerprints.py

* run bot

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f6afb09924
2024-03-14 17:42:37 -07:00
Justin Newberry aedba00f13 gha: remove trailing spaces (#31872)
remove trailing spaces
old-commit-hash: c1d0d35f8b
2024-03-14 16:20:02 -07:00
Cameron Clough 46cf28d822 ui.py fix typo (#31870)
old-commit-hash: 4dd5fd4619
2024-03-14 15:00:16 -07:00
ShaydeNZ 43b1a4498d Added fingerprints for my 2019 Golf R Mk7.5 (#31850)
old-commit-hash: 39d432e3cd
2024-03-14 14:26:21 -07:00
Alexandre Nobuharu Sato 65f6267dc8 Multilang: update pt-BR translation (#31861)
* update pt-BR translation

* this come from darkness??
old-commit-hash: a3f2c7bf3e
2024-03-13 22:40:20 -07:00
Lee Jong Mun 63987a26d2 Multilang: kor translation update (#31864)
old-commit-hash: 5d4e324ddf
2024-03-13 22:39:42 -07:00
Justin Newberry 530b233279 Revert "updated: prep for new updater (#31695)" (#31860)
* Revert "updated: prep for new updater (#31695)"

This reverts commit 0a0649ab6bd11bef4622f48db68602989b2d0f79.

* fix the test
old-commit-hash: d09dd75884
2024-03-13 14:01:56 -07:00
Justin Newberry a994e2d9b0 devcontainer: add gh and azure cli (#31859)
* add ghcli

* nosudo

* nl

* fix

* remove

* link to the install page

* it's already a feature :)

* fix + add azure

* no diff

* Update Dockerfile
old-commit-hash: 0efb62c11c
2024-03-13 11:40:26 -07:00
Justin Newberry 834e6774d7 add third party to exclude (#31858)
third_party as well
old-commit-hash: 98918b6afe
2024-03-13 11:23:16 -07:00
Shane Smiskol 7ffcd0d13d Honda Nidec: show distance bars (#31854)
* show lines nidec

* lead

* Update ref_commit
old-commit-hash: 7d0f234398
2024-03-13 01:53:15 -07:00
Shane Smiskol ebfc450fac longitudinal personality: change via steering wheel distance button (#31792)
* start at param

* start by sending personality

* change to personality

* POC: button changes personality

* what's wrong with this?

* fix

* not really possible but fuzzy test catches this

* there's always a typo

* dang, we're dropping messages

* clean up

* no comment

* bump

* rename

* not all cars yet

* works but at what cost

* clean up

* inside settings

* write param so we save the distance button changes

* setChecked activates buttonToggled and already writes param!

* don't need this, we update from longitudinalPlan on changes

* some clean up

* more

* ui

* allow some time for ui to receive and write param

* plannerd: only track changes in case no ui

* Revert "plannerd: only track changes in case no ui"

This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.

* write in plannerd as well, I assume this is atomic?

* don't write when setting checked (only user clicks)

* better nane

* more

* Update selfdrive/controls/lib/longitudinal_planner.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* doesn't write param now

* ParamWatcher is nice

* no debug

* Update translations

* fix

* odd drain sock proc replay behavior

* vanish

* Revert "odd drain sock proc replay behavior"

This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.

* add GM

* only if OP long

* move personality to controlsState, since eventually it won't be exclusive to long planner

more

bump

* diff without translations

* fix

* put nonblocking

* CS should start at up to date personality always (no ui flicker)

* update toggle on cereal message change

* fix

* fix that

* ubmp

* mypy doesn't know this is an int :(

* update translations

* fix the tests

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 3d63c7093a
2024-03-13 01:05:02 -07:00
Shane Smiskol f3414250a3 Move personality to controlsState (#31855)
* start at param

* start by sending personality

* change to personality

* POC: button changes personality

* what's wrong with this?

* fix

* not really possible but fuzzy test catches this

* there's always a typo

* dang, we're dropping messages

* clean up

* no comment

* bump

* rename

* not all cars yet

* works but at what cost

* clean up

* inside settings

* write param so we save the distance button changes

* setChecked activates buttonToggled and already writes param!

* don't need this, we update from longitudinalPlan on changes

* some clean up

* more

* ui

* allow some time for ui to receive and write param

* plannerd: only track changes in case no ui

* Revert "plannerd: only track changes in case no ui"

This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.

* write in plannerd as well, I assume this is atomic?

* don't write when setting checked (only user clicks)

* better nane

* more

* Update selfdrive/controls/lib/longitudinal_planner.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* doesn't write param now

* ParamWatcher is nice

* no debug

* Update translations

* fix

* odd drain sock proc replay behavior

* vanish

* Revert "odd drain sock proc replay behavior"

This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.

* add GM

* only if OP long

* move personality to controlsState, since eventually it won't be exclusive to long planner

more

bump

* diff without translations

* fix

* put nonblocking

* CS should start at up to date personality always (no ui flicker)

* update toggle on cereal message change

* fix

* fix that

* ubmp

* mypy doesn't know this is an int :(

* update translations

* fix the tests

* revert ui

* not here

* migrate controlsState

* Revert "migrate controlsState" - i see no reason we need to test with
any specific personality

This reverts commit 6063508f2df1a5623f113cda34dcd59a1f4b2ac9.

* Update ref_commit

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 29e55f99a5
2024-03-13 00:57:57 -07:00
Shane Smiskol fc35db75b2 Honda Bosch Radarless: check nonAdaptive at all times (#31853)
* doesn't work

* Revert "doesn't work"

This reverts commit 7a3587b60b65ed0525a9d658e676465ca8ecbef9.

* always add to can parser

* not sure if this is clean

* minimal diff version, but more lines!
old-commit-hash: e34432160a
2024-03-12 23:42:34 -07:00
Adeeb Shihadeh bdc5477a75 unicore gps (#31852)
* ugpsd

* oops

* cleanup

* disable

* more docs

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4af932b74b
2024-03-12 22:33:45 -07:00
Justin Newberry 529699f3fe logreader: fix auto source + interactive modes (#31847)
* interactive modes

* these exceptions don't matter
old-commit-hash: a819292073
2024-03-12 20:04:17 -07:00
Adeeb Shihadeh 5733c516c3 move pigeond to system/ubloxd/ (#31848)
* move pigeond to system/ubloxd/

* update release

* more

* mv test
old-commit-hash: 147ccc7a58
2024-03-12 17:13:13 -07:00
YassineYousfi 09fcc544b5 camera: add all_cams iterator, allow None camera, add camera size property (#31835)
* camera: add neo_config for easy access

* camera: add all_cams iterator and cam size

* can be none

* use FakeCameraConfig

* rename to None
old-commit-hash: 30ce6af490
2024-03-12 15:29:49 -07:00
Jason Wen 89b7275009 Chrysler: Parse distance button from steering wheel (#31764)
old-commit-hash: 4c76d1b9a0
2024-03-12 15:03:14 -07:00
Adeeb Shihadeh dd371305a0 Reapply "ui: brighten cameraview (#29744)" (#31846)
This reverts commit e7f7189d2dc339f76d92762c1b9b2fa720ed87e4.
old-commit-hash: c155749b29
2024-03-12 14:27:12 -07:00
Shane Smiskol 38c85b01f0 Fingerprints migration dictionary (#31838)
move migration to op!
old-commit-hash: de7f14dbd7
2024-03-12 11:50:26 -07:00
Shane Smiskol b1caa59c82 [bot] Fingerprints: add missing FW versions from new users (#31839)
Export fingerprints
old-commit-hash: af177f3d10
2024-03-11 23:43:25 -07:00
Saber 680e2c7166 VW MQB: Add FW for 2017 Kodiaq (#31368)
route name:0bbe367c98fa1538|2024-02-08--11-02-38--0
old-commit-hash: e657afbf34
2024-03-11 23:21:45 -07:00
Shane Smiskol 4643f53ffd Update ref_commit
old-commit-hash: 1e86269ab7
2024-03-11 23:04:32 -07:00
Saber c117b0778b VW MQB: Add FW for 2017 Touran (#30863)
route name:0bbe367c98fa1538|2023-12-28--15-59-10--0
old-commit-hash: 4f02bcfbf4
2024-03-11 22:54:05 -07:00
Jason Wen f2f99719cf HKG: Add FW versions for Genesis G70 2023 (#30759)
* HKG: Add FW versions for Genesis G70 2021

* bump model year

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b648db6efe
2024-03-11 22:50:16 -07:00
pg3141 57639a3a75 Skoda Kodiaq Sportline 2023 fingerprints (#30845)
* Update fingerprints.py for new skoda kodiaq

* Update fingerprints.py to add 2 more ecu's found in the carFw array that had hyundai as brand

* Update fingerprints.py
old-commit-hash: 639d8dd755
2024-03-11 22:42:11 -07:00
Joshua Mack dba30afb70 Mazda CX-5 2024 Fingerprint (#30882)
2024 Mazda CX-5 FP

Added "aaaa_51443"'s 2024 Mazda CX-5's FPs
old-commit-hash: 398eaf5b55
2024-03-11 22:35:42 -07:00
RandomHB 043877cfae Update fingerprints.py 2022 Ford F-150 PowerBoost (fwdCamera) (#31462)
* Update fingerprints.py 2022 Ford F-150 PowerBoost (fwdCamera)

* update MY

* also likely works for hybrid

* fix that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fedb2a9360
2024-03-11 22:17:10 -07:00
Erich Moraga 00c1b2cd84 Volkswagen: add engine/transmission/srs ECU versions for PASSAT_MK8 (#31777)
`black_guru` 2021 VW Passat  DongleID/route 9d09cc205c254c4b/00000000--03b770c463
old-commit-hash: 9ab735494e
2024-03-11 22:13:34 -07:00
Jason Wen d239ea8a81 Volkswagen PQ Longitudinal: Display personality in instrument cluster (#31837)
old-commit-hash: 7a47fad5e3
2024-03-11 22:06:49 -07:00
Jason Wen 7311bad897 Honda Longitudinal: Display personality in instrument cluster (#31799)
* Honda Longitudinal: Display personality in instrument cluster

* Simpler

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* cleanup

* Update selfdrive/car/honda/hondacan.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5f39a6f8be
2024-03-11 22:05:27 -07:00
Jason Wen 04b929076e Volkswagen Longitudinal: Display personality in instrument cluster (#31800)
old-commit-hash: 7ca07f8be9
2024-03-11 22:01:48 -07:00
Jason Wen b826dca338 Nissan: Parse distance button from steering wheel (#31766)
old-commit-hash: 82fa0d762c
2024-03-11 21:58:55 -07:00
Jason Wen 7817ba8519 Mazda: Parse distance button from steering wheel (#31765)
* Mazda: Parse distance button from steering wheel

* Update selfdrive/car/mazda/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ab5c0f90b5
2024-03-11 21:53:19 -07:00
Jason Wen 5bfbd2d0bf Honda: Parse distance button from steering wheel (#31763)
old-commit-hash: 32c0bcec3a
2024-03-11 21:49:07 -07:00
Jason Wen 136a94637c Hyundai Longitudinal: Display personality in instrument cluster (#31798)
* Hyundai Longitudinal: Display personality in instrument cluster

* Support CAN-FD

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 87cb00203a
2024-03-11 21:45:52 -07:00
GRIFFIT807 3dc7e1fa13 Add support for 2024 Ford Maverick (#31828)
* Update fingerprints.py

* Update values.py

* 24

* Update CARS.md

* hybrid should match up

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: adc15d69a2
2024-03-11 21:31:53 -07:00
Cameron Clough e2ed0a06c7 Ford: show longitudinal personality in IPC (#31796)
* Ford: show longitudinal personality in IPC

Adjust the time gap to 2, 3 or 4 bars for openpilot long.

TODO: set AccTGap_D_Dsply when value changes so that the popup appears
with the new time gap

Depends on #31760.

* ACC UI: show time gap popup when distance changes

* Revert "ACC UI: show time gap popup when distance changes"

This reverts commit c4e8e10970078a534d5714ddced92d540e9e3c0c.

* ACC UI: send on distance bars change

* don't need this check - just send on first frame
old-commit-hash: 011eed0daf
2024-03-11 20:30:09 -07:00
Adeeb Shihadeh b26565d793 remove RTC time pull (#31829)
* remove RTC time pull

* and syncing

* bump panda

* bump panda
old-commit-hash: 78d72d7dc3
2024-03-11 18:23:10 -07:00
Jason Wen 1d014c0892 Params: remove unused key (#31826)
old-commit-hash: 0e92097f7e
2024-03-11 13:47:41 -07:00
Shane Smiskol 59cfb02ebb [bot] Fingerprints: add missing FW versions from new users (#31815)
* Export fingerprints

* Update selfdrive/car/toyota/fingerprints.py
old-commit-hash: fb9f31efb7
2024-03-11 13:32:00 -07:00
Jason Wen 583c80a417 GM Longitudinal: Display personality in instrument cluster (#31801)
* GM Longitudinal: Display personality in instrument cluster

* Correct value

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3d7595dfe3
2024-03-11 13:31:01 -07:00
Justin Newberry f2533f20cd fix simulator device config (#31827)
fix sim
old-commit-hash: 1db30eae3a
2024-03-11 11:58:24 -07:00
Adeeb Shihadeh 04cff2aeb4 [bot] Bump submodules (#31823)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 6768f13f6a
2024-03-11 11:36:45 -07:00
Adeeb Shihadeh 7b03aaea80 [bot] Update Python packages and pre-commit hooks (#31824)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 72cab4342f
2024-03-11 10:56:38 -07:00
Justin Newberry 52f95cc80f test_updated: ensure symlinks are copied properly (#31825)
test symlink
old-commit-hash: 7779f6875f
2024-03-11 10:40:42 -07:00
Michel Le Bihan 70a649f88b simulator: Correctly handle arrival at destination (#31807)
old-commit-hash: 8a03884500
2024-03-11 10:27:32 -07:00