Commit Graph

12097 Commits

Author SHA1 Message Date
Justin Newberry d09dd75884 Revert "updated: prep for new updater (#31695)" (#31860)
* Revert "updated: prep for new updater (#31695)"

This reverts commit b93f6ce4f6.

* fix the test
2024-03-13 14:01:56 -07:00
Justin Newberry 0efb62c11c 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
2024-03-13 11:40:26 -07:00
Justin Newberry 98918b6afe add third party to exclude (#31858)
third_party as well
2024-03-13 11:23:16 -07:00
Shane Smiskol 7d0f234398 Honda Nidec: show distance bars (#31854)
* show lines nidec

* lead

* Update ref_commit
2024-03-13 01:53:15 -07:00
Shane Smiskol 3d63c7093a 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>
2024-03-13 01:05:02 -07:00
Shane Smiskol 29e55f99a5 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>
2024-03-13 00:57:57 -07:00
Shane Smiskol e34432160a 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!
2024-03-12 23:42:34 -07:00
Adeeb Shihadeh 4af932b74b unicore gps (#31852)
* ugpsd

* oops

* cleanup

* disable

* more docs

---------

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

* these exceptions don't matter
2024-03-12 20:04:17 -07:00
Adeeb Shihadeh 147ccc7a58 move pigeond to system/ubloxd/ (#31848)
* move pigeond to system/ubloxd/

* update release

* more

* mv test
2024-03-12 17:13:13 -07:00
YassineYousfi 30ce6af490 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
2024-03-12 15:29:49 -07:00
Jason Wen 4c76d1b9a0 Chrysler: Parse distance button from steering wheel (#31764) 2024-03-12 15:03:14 -07:00
Adeeb Shihadeh c155749b29 Reapply "ui: brighten cameraview (#29744)" (#31846)
This reverts commit 023792c431.
2024-03-12 14:27:12 -07:00
Shane Smiskol de7f14dbd7 Fingerprints migration dictionary (#31838)
move migration to op!
2024-03-12 11:50:26 -07:00
Shane Smiskol af177f3d10 [bot] Fingerprints: add missing FW versions from new users (#31839)
Export fingerprints
2024-03-11 23:43:25 -07:00
Saber e657afbf34 VW MQB: Add FW for 2017 Kodiaq (#31368)
route name:0bbe367c98fa1538|2024-02-08--11-02-38--0
2024-03-11 23:21:45 -07:00
Shane Smiskol 1e86269ab7 Update ref_commit 2024-03-11 23:04:32 -07:00
Saber 4f02bcfbf4 VW MQB: Add FW for 2017 Touran (#30863)
route name:0bbe367c98fa1538|2023-12-28--15-59-10--0
2024-03-11 22:54:05 -07:00
Jason Wen b648db6efe 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>
2024-03-11 22:50:16 -07:00
pg3141 639d8dd755 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
2024-03-11 22:42:11 -07:00
Joshua Mack 398eaf5b55 Mazda CX-5 2024 Fingerprint (#30882)
2024 Mazda CX-5 FP

Added "aaaa_51443"'s 2024 Mazda CX-5's FPs
2024-03-11 22:35:42 -07:00
RandomHB fedb2a9360 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>
2024-03-11 22:17:10 -07:00
Erich Moraga 9ab735494e Volkswagen: add engine/transmission/srs ECU versions for PASSAT_MK8 (#31777)
`black_guru` 2021 VW Passat  DongleID/route 9d09cc205c254c4b/00000000--03b770c463
2024-03-11 22:13:34 -07:00
Jason Wen 7a47fad5e3 Volkswagen PQ Longitudinal: Display personality in instrument cluster (#31837) 2024-03-11 22:06:49 -07:00
Jason Wen 5f39a6f8be 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>
2024-03-11 22:05:27 -07:00
Jason Wen 7ca07f8be9 Volkswagen Longitudinal: Display personality in instrument cluster (#31800) 2024-03-11 22:01:48 -07:00
Jason Wen 82fa0d762c Nissan: Parse distance button from steering wheel (#31766) 2024-03-11 21:58:55 -07:00
Jason Wen ab5c0f90b5 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>
2024-03-11 21:53:19 -07:00
Jason Wen 32c0bcec3a Honda: Parse distance button from steering wheel (#31763) 2024-03-11 21:49:07 -07:00
Jason Wen 87cb00203a 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>
2024-03-11 21:45:52 -07:00
GRIFFIT807 adc15d69a2 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>
2024-03-11 21:31:53 -07:00
Cameron Clough 011eed0daf 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
2024-03-11 20:30:09 -07:00
Adeeb Shihadeh 78d72d7dc3 remove RTC time pull (#31829)
* remove RTC time pull

* and syncing

* bump panda

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

* Update selfdrive/car/toyota/fingerprints.py
2024-03-11 13:32:00 -07:00
Jason Wen 3d7595dfe3 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>
2024-03-11 13:31:01 -07:00
Justin Newberry 1db30eae3a fix simulator device config (#31827)
fix sim
2024-03-11 11:58:24 -07:00
Adeeb Shihadeh 6768f13f6a [bot] Bump submodules (#31823)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-03-11 11:36:45 -07:00
Adeeb Shihadeh 72cab4342f [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>
2024-03-11 10:56:38 -07:00
Justin Newberry 7779f6875f test_updated: ensure symlinks are copied properly (#31825)
test symlink
2024-03-11 10:40:42 -07:00
Michel Le Bihan 8a03884500 simulator: Correctly handle arrival at destination (#31807) 2024-03-11 10:27:32 -07:00
Adeeb Shihadeh e3589e4b5c refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh 6a7a998058 disable that one for now 2024-03-10 16:44:21 -07:00
Adeeb Shihadeh 7436aa8b05 modeld: prep for camera transform refactor (#31820)
* modeld: prep for camera transform refactor

* update refs

* add pub

* do setup
2024-03-10 16:39:40 -07:00
Adeeb Shihadeh f6665f8488 thermald: add deviceType to logs (#31819)
* thermald: add deviceType to logs

* fix
2024-03-10 14:29:50 -07:00
Mauricio Alvarez Leon 1b6178a77d Add autoconnect support for hidden WiFi networks (#31789)
* add autoconnect to WifiManager::connect

* set wifi/hidden to true

* typo

* add condition to only set connection[wireless][hidden] to true when connecting to a hidden network

* default false value for is_hidden
2024-03-10 10:11:41 -07:00
Shane Smiskol d651bc802b ButtonParamControl: use buttonClicked (#31817) 2024-03-10 00:12:18 -08:00
Adeeb Shihadeh 4d1b100152 cgpsd: use a real source 2024-03-09 23:33:24 -08:00
Adeeb Shihadeh 1fe61569f7 fix status -> state typo 2024-03-09 23:31:50 -08:00
Jason Wen 5ca733c415 GM: Parse distance button from steering wheel (#31762) 2024-03-09 21:00:32 -08:00