Commit Graph

8667 Commits

Author SHA1 Message Date
Cameron Clough
90ff0dd047 test_models: migrate fingerprint (#31936) 2024-03-20 10:57:28 -07:00
Adeeb Shihadeh
23e8ad7397 cleanup pedal crc 2024-03-20 10:35:33 -07:00
Shane Smiskol
1b930ae616 Honda E: allow fingerprinting without comma power (#31934)
HONDA_E
2024-03-19 22:47:08 -07:00
Shane Smiskol
6d8534758f Honda: allow fingerprinting without comma power for some platforms (#31933)
* pending

* notes

* these are ready!

* do odyssey

* Freed

* ACURA_RDX_3G

* HONDA_HRV

* new lines

* sort

* clean up

* comment new line

comment new line
2024-03-19 22:39:30 -07:00
Shane Smiskol
8f174d82d6 Toyota: RAV4 Hybrid cannot do stop and go as stock (#31931)
* rav4 also like this

* docs
2024-03-19 21:10:20 -07:00
Justin Newberry
b0eb3ba4f4 cars: platform enums -> prepend brand name (#31927)
* with brand name

* migrate

* Fix

* fixes

* more

* passes

* fix

* fix the doc

* collects

* these too

* more stuff

* body exception :/

* more

* hardcode i guess

* update ref

* toyota

* more toyota

* and here

* final!

* fix notebooks and ccs

* move this here
2024-03-19 17:29:50 -07:00
Adeeb Shihadeh
afc96972c8 car: CarController and CarState are always present (#31925)
* always set

* add mock

* little more

* fix

* fix
2024-03-19 14:16:33 -07:00
Adeeb Shihadeh
3a7582d9a6 Abstract out common CarInterface.apply (#31924) 2024-03-19 13:46:31 -07:00
Justin Newberry
4fbc8a3896 move git commands to common/git.py (#31921)
move git into common/git.py
2024-03-19 12:39:09 -07:00
Shane Smiskol
530bc62baa [bot] Fingerprints: add missing FW versions from new users (#31917) 2024-03-19 11:16:36 -07:00
thenhnn
489528dcae PlatformConfig: automatically get platform_str from the enum name (#31868)
* get platform_str from the enum name

* fix tests

* add migration table

* remove impossible todo

* Add link to PR in MIGRATION table

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

* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN

* rename RAM_HD to RAM_HD_5TH_GEN

* rename references to RAM_HD and RAM_1500

* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC

* remove MOCK from fingerprints.py

* change hard-coded car model in test_can_fingerprint.py/test_timing

* migration

* update ref

* space

* prius

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2024-03-19 11:16:02 -07:00
YassineYousfi
2aaaa3f167 duck amigo model (#31883)
* 026c8008-1728-4549-baf4-ab0436f2927d/700

* update model replay ref

* update again
2024-03-18 16:37:15 -07:00
Shane Smiskol
d82fc7f27b [bot] Fingerprints: add missing FW versions from new users (#31842)
Export fingerprints
2024-03-18 16:02:34 -07:00
Adeeb Shihadeh
fa12a67228 remove pedal (#31903)
* remove pedal

* bump panda

* fix

* update refs
2024-03-17 22:42:49 -07:00
Justin Newberry
0b92f4e9ee more car info -> car docs (#31885) 2024-03-17 16:53:57 -07:00
Shane Smiskol
7e9a909e0e [bot] Fingerprints: add missing Volkswagen FW versions from new users (#31734)
Export fingerprints
2024-03-17 02:23:44 -07:00
gittyhubbyfrankybobby
04382115c1 Add Genesis G90 2020 Fingerprint (#31893)
* add 2020 G90 fingerprint

* Add G90 fingerprint

* Add 2020 G90 transmission and fwdRadar fingerprints

* run bot

* probably fine to include 2019

---------

Co-authored-by: Dwight Awesome <dwightmawesome@maximus.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-17 02:14:01 -07:00
Shane Smiskol
96aa3223e5 [bot] Fingerprints: add missing FW versions from new users (#31897)
Export fingerprints
2024-03-17 02:05:13 -07:00
Shane Smiskol
9d5c70fbc9 Toyota: check FW valid (#31898)
* basic check

* basic check

* fix
2024-03-17 01:55:48 -07:00
ishfaaq
93c06eaf43 Updating steerRatio for 4th gen Hyundai Tucson (2022+) (#31877)
Update values.py
2024-03-17 01:44:26 -07:00
James
1cb49ae44d Fix radard comment (#31891) 2024-03-16 00:56:04 -05:00
Shane Smiskol
1723d27b9c Kia Niro Plug-in Hybrid: update required package (#31888)
* from https://www.applewoodkialangley.ca/new/2022-Kia-Niro%20plug_in%20hybrid-brochure.html?lang=ENGLISH&vehicle=kia-niropluginhybrid-2022

* LXS on 2021 also lacks SCC - https://www.kiamedia.com/us/en/models/niro-phev/2021/documents

* 2020 too?! https://www.kiamedia.com/us/en/models/niro-phev/2020/documents

* update
2024-03-15 17:33:38 -07:00
Chase Bolt
a790b49fd5 Kia: add 2024 Sportage X-Pro Prestige camera FW version (#31581)
* adding fingerprint for 2024 Kia Sportage X-Pro Prestige

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-15 17:03:45 -07:00
fri.K
0821201dc4 Fingerprint for Skoda Octavia MK3 Scout with 6 speed DSG (#31574)
Fingerprint for Skoda Octavia MK3 Scout with DSG
retrofitted ACC with Audi A3 rounded radar
2024-03-15 16:32:39 -07:00
ilxszh
1610010ad2 Add VW Touran CN model fingerprint (#31295)
* Update fingerprints.py

Add Touran CN model support

* Update fingerprints.py

Remove repeated FR fwVersion.

* run bot

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-15 16:24:19 -07:00
Stanley Lee
6f9b663ff2 VW MQB: Add FW for 2024 Volkswagen Tiguan (#30978)
* VW MQB: Add FW for 2024 Volkswagen Tiguan

* VW MQB: Update sort order of new 2024 Volkswagen Tiguan FW
2024-03-15 16:12:07 -07:00
Shane Smiskol
5746c4672d Ford: hybrid docs (#31874)
* kinda works

* fix

* clean up

* rm hybrid entries

* shorter

* shorter

* fix that

* one line!

* we can get rid of this now!
2024-03-15 15:37:29 -07:00
Shane Smiskol
91933b5f42 Hyundai CAN FD: allow more platforms to use enhanced fuzzy fingerprinting (#31882)
* K8 has hybrid descriptor (GL3H), AND we detect hybrid now

* don't know if Carnival's hybrid variant has them, but it's not out yet, and we detect hybrid

fixes: ec32d6aa1c7735d1/2024-03-15--16-41-46

* cmt
2024-03-15 14:46:29 -07:00
Justin Newberry
07ec5e5fdb test_updated: test permissions are preserved (#31881)
* test perserved

* space
2024-03-15 14:10:38 -07:00
Justin Newberry
655e5f7c3e rename CarInfo to CarDocs (#31879)
car info to car docs
2024-03-15 11:45:44 -07:00
Shane Smiskol
bdae188c6f docs: don't support multi-type car info (#31875)
don't support multi-type car info
2024-03-15 00:11:41 -07:00
Shane Smiskol
d5852ab1b3 CarInterface: no platform config fallback (#31873)
* no mock default

* rm
2024-03-14 22:27:32 -07:00
Justin Newberry
ca5a2ed942 move getting platform to get_params (#31871)
* better

* string

* not here
2024-03-14 21:58:25 -07:00
Justin Newberry
1ecbbef46b controlsd: fix saturation warning (#31869)
fix saturation
2024-03-14 18:03:39 -07:00
thomasgtsr
f6afb09924 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>
2024-03-14 17:42:37 -07:00
ShaydeNZ
39d432e3cd Added fingerprints for my 2019 Golf R Mk7.5 (#31850) 2024-03-14 14:26:21 -07:00
Alexandre Nobuharu Sato
a3f2c7bf3e Multilang: update pt-BR translation (#31861)
* update pt-BR translation

* this come from darkness??
2024-03-13 22:40:20 -07:00
Lee Jong Mun
5d4e324ddf Multilang: kor translation update (#31864) 2024-03-13 22:39:42 -07:00
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
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
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
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