Commit Graph

3479 Commits

Author SHA1 Message Date
Shane Smiskol 41c1a111be GM: hide ASCM from car docs (#32260)
* stash

* clean up

* programmatically

* Update selfdrive/car/gm/values.py

* do flags later

* clean up
old-commit-hash: 9f4cf8017fa3338f5704375cd37d7a5968663faa
2024-04-19 20:33:48 -07:00
Shane Smiskol 11e5bea5cb GM: clean up test (#32261)
* not necessary

* Update selfdrive/car/gm/tests/test_gm.py
old-commit-hash: fa1a6bcd6bd27ff823f602fc99d528bac9704d29
2024-04-19 19:38:39 -07:00
Shane Smiskol 5ce8d5c4da values: use union arguments (#32258)
* use get_args to reduce duplication

* clean up
old-commit-hash: f427427b5e085c7391b617e5c724c6b0326b24f1
2024-04-19 17:46:40 -07:00
Shane Smiskol 0850f536cb [bot] Fingerprints: add missing FW versions from new users (#32253)
Export fingerprints
old-commit-hash: 60c71580dae659f97a74281271923e60c115eb8a
2024-04-19 11:14:40 -07:00
Shane Smiskol 7b7aa6c08e distance bars: bars always cycle 1, 2, 3 (#32251)
1, 2, 3 instead of 2, 3, 4
old-commit-hash: 5d28b929c3c0c6a7d7bf831e064aa9e67b2b85d6
2024-04-18 19:39:08 -07:00
Shane Smiskol 896f58c28b car docs: add Camry 2025 to TS
old-commit-hash: 23995131af49b5bed4a1481774246ccb24a714b4
2024-04-18 16:52:52 -07:00
Shane Smiskol 923d8c0888 [bot] Fingerprints: add missing FW versions from new users (#32247)
Export fingerprints
old-commit-hash: a8e2c00b9810a226ec77456a74d88dfd24c00d97
2024-04-18 11:31:38 -07:00
Shane Smiskol 12fb4faabe lateral limits: remove Subaru exception (#32244)
* remove exception

* update Outback params

* clean up

* adjust to the upper limit

* don't change control, only docs

* rough
old-commit-hash: 692a21e4a722d91086998b532ca6759a3f85c345
2024-04-17 23:36:58 -07:00
Shane Smiskol 820cb6b49c Revert "Honda: brazilian HR-V 2023 fingerprint" (#32240)
Revert "Honda: Brazilian HR-V 2023 fingerprint (#31503)"

This reverts commit 1bc1f83427437432563a7c8d0acd76487f3ca6e4.
old-commit-hash: 67d6f0b769dfb596eba9f0ab4a8a78dc5090eb72
2024-04-17 15:36:44 -07:00
Shane Smiskol e7511de30b Toyota: remove unecessary ECUs for fingerprinting (#32235)
* remove some ecus

* missing doc

* fix

* fix

* clean up

* update refs

* rm
old-commit-hash: 5d0dc2ded27886b2edfd57391a54fc5f2ce0ff20
2024-04-17 00:09:20 -07:00
Shane Smiskol 43c72d410d Platforms: less redundant string repr (#32233)
smol
old-commit-hash: 3d0f9fb18f52ce092a2eb00cb92f7c285bc56e89
2024-04-16 23:37:46 -07:00
Alexandre Nobuharu Sato 1402ac3e49 Honda: Brazilian HR-V 2023 fingerprint (#31503)
* add braziliam honda HR-V fingerprint

* cleanup white spaces

* cleanup more white spaces

* remove radar

* add fwdRadar (camera)

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: db5eb58d914aed9ad35bbef21f76bea0a636c37c
2024-04-16 22:08:28 -07:00
Shane Smiskol 94256ca3b5 Honda HR-V 3G: allow fingerprinting without the comma power (#32231)
* from 147613502316e718/00000001--ce406cf8a7

* honda hrv 3g obd-less

* rm

* good test

* add back
old-commit-hash: 3d44edb3480f24067e93941a14450de53bcc041f
2024-04-16 21:52:14 -07:00
Shane Smiskol d82bdc961e FwQueryConfig: test non-essential ecus aren't needless (#32232)
* good test

* remove :D

* typo
old-commit-hash: a076c1e78f54ed78666ed2fea6f8443f51b45a95
2024-04-16 21:49:30 -07:00
Shane Smiskol 8a67de720a Honda HR-V 3G: add missing camera ECU (#32230)
* add from 320098ff6c5e4730/2023-04-13--17-47-46

* from a3af9bb0ea9298f4/2024-04-07--10-35-20

* Revert "from a3af9bb0ea9298f4/2024-04-07--10-35-20"

This reverts commit 1bbfa8805891d072986e741296ff2248ab249f23.

* add from 5d8793699017d179/2024-04-16--16-21-14

Honda HR-V 2023 EX-L Mexico plant, US market

* this is that unknown response

* and this is the unknown addr from the og user

* clean up

* consistent order

* update pattern
old-commit-hash: 119e2847581fd5b1ec0a15109f592d884745cb4c
2024-04-16 21:19:57 -07:00
Shane Smiskol f78ee09c4b [bot] Fingerprints: add missing FW versions from new users (#32221)
Export fingerprints
old-commit-hash: 4a9f3a4f2738ab82eec246903f7f766a68b06d59
2024-04-16 19:12:30 -07:00
Shane Smiskol ba1b9df465 [bot] Fingerprints: add missing FW versions from new users (#32211)
Export fingerprints
old-commit-hash: 0b8de57c567fe3ef9fca9928f6d21bc76ac61024
2024-04-16 10:33:58 -07:00
Shane Smiskol 33856593f7 [bot] Fingerprints: add missing FW versions from new users (#32209)
Export fingerprints
old-commit-hash: c309333b79e499c19ac2229dae0d767288223110
2024-04-15 15:34:10 -07:00
Shane Smiskol 758668c7d2 [bot] Fingerprints: add missing FW versions from new users (#31840)
Export fingerprints
old-commit-hash: f7f7dba5ed0580c3022ea6d07148b76e398b768e
2024-04-15 15:17:21 -07:00
Jason Young c93b2163de Subaru: Add FW for 2020 Subaru Forester (#31748)
old-commit-hash: d14407dafa173383b93cce29a55f0b30c10e8648
2024-04-15 15:03:22 -07:00
kangtae1 0b0538e8eb Fingerprint: KIA Niro HEV 2021 - South Korea model (#31499)
* Fingerprints: KIA Niro HEV South Korea model

* Update selfdrive/car/hyundai/fingerprints.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fd401c317d29ac06c06c3cc505fb39e64cfb4819
2024-04-15 14:58:34 -07:00
Shane Smiskol a24c95db62 Hyundai CAN: check traction control enabled (#32208)
* add esp

* add tcs11
old-commit-hash: ed1d12974fdf37f8acc295b25ec21da308296160
2024-04-15 14:41:03 -07:00
Shane Smiskol c358c86b91 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32203)
Export fingerprints
old-commit-hash: 70cdcc51a99b932000e3b281b303181451a5bc33
2024-04-15 09:28:32 -07:00
James 3a69927c55 Fix "PlaformConfig" typo (#32201)
old-commit-hash: 038782bcba512b077752ef8901b848973b05cd48
2024-04-15 09:11:40 -07:00
Cameron Clough c0e7dae02f Ford: add Ranger 2024 (CAN FD, dashcam only) (#31956)
* Ford: add Ranger 2024 (CAN FD, dashcam only)

* force fingerprint

* debug

* add FW (using debug_fw_fingerprinting_offline)

* add test route

* Revert "debug"

This reverts commit 9d128cb1bbb28fb0cb8da6725c291ebe285e7467.

* Revert "force fingerprint"

This reverts commit 421d92172f354b4713a1371bec9dc9b1bbb6318f.

* update package and finalise steer ratio

"Adaptive Cruise Control with Lane Centering" is part of the Raptor
Standard Equipment Group (i.e. only on the Raptor trim). However,
looking at As-Built/VIN data for Raptor LARIATs show that although Ford
does not advertise it they do come with Lane Centering (the configurator
only says they have ACC with Stop and Go).

ACC with Stop and Go can also be added to the lower XLT trim as part of
the Technology Package, but it is unclear at this point whether that
includes Lane Centering.

The 2021 Ranger had a 17.0 steer ratio. The As-Built data suggests
17/18. PlotJuggler shows the liveParameters.steerRatio between 16.5-17.5
on two short drives.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7bc81341e10aad9742e113006f702ead75f2fbf2
2024-04-14 18:00:34 -07:00
Shane Smiskol 104d78cbd0 [bot] Fingerprints: add missing FW versions from new users (#32195)
Export fingerprints
old-commit-hash: 585c62673f8f3d9d70a3fb648562d10ae643938e
2024-04-13 21:20:15 -07:00
Shane Smiskol a335b8bd09 Volkswagen: add missing Golf FW (#32196)
add missing golf fingerprints
old-commit-hash: 5f9a25dfe98915fa97b91c6ba5391ba7896a40ba
2024-04-13 21:03:45 -07:00
dkiiv 70216f4975 VW: update LKA HUD to be more logically accurate (#31895)
* VW: update LKA HUD to be more logically accurate

* consistent case

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9244f0f0d5490c1078ee3559b8edbcb39c9908d4
2024-04-13 20:27:53 -07:00
Saber bd91677d63 VW MQB: Add FW for 2023 TROC (#31737)
* Update fingerprints.py

* Update values.py

TROC is MQB instead of MQB A0

* update docs

* missing srs!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 70ee42d17f8af457fe97e374cf9e7bded66b36bd
2024-04-13 20:22:34 -07:00
Shane Smiskol accfaa29af Volkswagen: fingerprint on VIN chassis code (#32148)
* add function signature and behavior comment

* add test

* move chassis codes to platform config!

* add a shared chassis code test

* function

* test matching

* this commit isn't complete yet

* Revert "this commit isn't complete yet"

This reverts commit ae77d5cd54e1f43d390fb70c4da38a95ac34f8da.

* need to check WMI

* TODO: test WMI

* test wmi

* radar FW sanity check

* fix test

* fixes from merge

fixes from merge

* whoops

* fix static analysis!

* do match_fw_to_car

match_fw_to_car takes vin

* makes sense to keep it one function, and we can return exact or fuzzy!

* clean up

* kinda pointless

* fix more tests

* back to function being only fuzzy

* revert test_fw_fingerprint

* revert test_fw_fingerprint

* simplify

* clean up/fixes

* rename test

* less duplicatey WMI descriptions

* fix

* convert to enum

* I am confident about these WMIs

* these are also good

* we support 5N AUS/NZ and NAR (North American) AX Tiguans

fixes

* Tiguan also Mexico

* only one user for caddy

* got from the test route

* check that the gateway type matches the platform (each platform has 1 or 2 types)

* ~gateway~ -> exact FW match

* remove re

* ensure WMIs are set

* actually no reason to delete

* move comment up to the platform config

* proper wmis typing

* spacing

* flip
old-commit-hash: 6acf763db49944de7a7685b46d50a6c8228a5777
2024-04-12 22:00:03 -07:00
Shane Smiskol 6a3d11516d Volkswagen: move FW pattern to test (#32191)
move
old-commit-hash: 02920d67b74410c273987ac7afffc37efddfddc1
2024-04-12 21:19:20 -07:00
Shane Smiskol 2d48ce9c8f Volkswagen: add missing chassis codes (#32189)
* add Tiguan NAR (North American Region)

* cars in AUS/NZ (2019+) have first generation chassis code :/

jyoung states true first generation cars should CAN error
old-commit-hash: 8dbf7aa2ab20ccd66153aa358424aa938421ea73
2024-04-12 21:05:50 -07:00
Shane Smiskol f44104fa00 Volkswagen: enable OBD-less fingerprinting for gateway-integrated cars (#32188)
* too complex

* Revert "too complex"

This reverts commit 7614bfd466f26cf9b3ebf267f5a2c06d97527496.

* no logging is fine

* EPS is non-essential for exact matching
old-commit-hash: b3397882a373043fda1f1c7dc28cf28c0fe5eb63
2024-04-12 20:51:54 -07:00
Shane Smiskol c33ba96661 [bot] Fingerprints: add missing FW versions from new users (#32186)
Export fingerprints
old-commit-hash: 08097bdf0c2fb1526b43c54d51294ceca2158db0
2024-04-12 16:02:27 -07:00
Adeeb Shihadeh 1f334fdf8a Tesla: remove CAN fingerprints (#32176)
old-commit-hash: ee9d12a038128025002fe90eea3c9f034bc19a23
2024-04-11 14:58:05 -07:00
James f5e0309105 Toyota: use existing "pcm_acc_status" declaration (#32173)
old-commit-hash: a05de943dadfac18709d48b2f8031ff8e1e787c6
2024-04-11 13:58:41 -07:00
Shane Smiskol ffab355fe3 [bot] Car docs: update model years from new users (#32165)
old-commit-hash: cd16eba8fd486abdb95c172aadc2813b58636d87
2024-04-11 10:43:39 -07:00
Shane Smiskol d3af84c43d Volkswagen: test FW version format (#32162)
* add test

* more explicit
old-commit-hash: 70b8e277d023196d79f33f9b93090efcbdac6fee
2024-04-10 23:39:45 -07:00
Shane Smiskol 5a2f303832 [bot] Fingerprints: add missing FW versions from new users (#32149)
Export fingerprints
old-commit-hash: 7a3c03c901829e9da2170afc9968b834168a47b5
2024-04-10 10:38:56 -07:00
Shane Smiskol 971d160349 Volkswagen: combine platforms with common chassis codes (#32147)
* fix curb weight for Ateca to match Leon better

https://www.auto-data.net/en/seat-ateca-i-1.6-tdi-115hp-start-stop-23096

https://www.seat.com/content/dam/public/seat-website/car-shopping-tools/brochure-download/brochures/ateca/cars-specs-brochure-KH7-NA-december-2018.pdf

* combine leon and ateca

* combine fw

* migrate

* great, both use same torque params

* scala and kamiq

* remove duplicates

* fix

* fix!
old-commit-hash: 16bb4a9ccd1fe07d5a90aae719873e4bfc8e4d65
2024-04-09 21:00:56 -07:00
Shane Smiskol e79cfe4f29 Format volkswagen/values.py
old-commit-hash: a6235521279bff11a0ebfcfb14d303986e927b74
2024-04-09 19:28:02 -07:00
Shane Smiskol 73e68010ae VW: get VIN from camera without comma power (#31851)
* add VW camera to VIN addrs

* correct VW query

* consistent

* update refs
old-commit-hash: 22aa9a436dcd6434706931a78d6381e2fc66d78b
2024-04-08 16:36:13 -07:00
Shane Smiskol 0c368e6e56 debug: set OBD multiplexing mode for VIN (#32130)
old-commit-hash: 16a473b3aadabfa9f9d0fa3988efeb7aea01affe
2024-04-08 15:42:31 -07:00
kesteve 9d7e91d809 Update Fingerprints for Kia Carnival 2023 in Taiwan (#32064)
This is the 8 seater Kia Carnival (2023 Premium version) in Taiwan.

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: db10f9be640a858674cedb79937049d1bafc05f3
2024-04-08 15:29:09 -07:00
Shane Smiskol b0e94596d3 Honda: remove combination meter (#32127)
remove combination meter
old-commit-hash: 5352d6c7ab5381047349f95edb2c0941b86eb8a4
2024-04-08 14:18:36 -07:00
Shane Smiskol 8c580f8d50 [bot] Fingerprints: add missing FW versions from new users (#32115)
Export fingerprints
old-commit-hash: 325dab639333dac36ca2115a97a56e1d43a556e6
2024-04-08 11:51:12 -07:00
Shane Smiskol 5c1d90aaf3 [bot] Fingerprints: add missing FW versions from new users (#32108)
Export fingerprints
old-commit-hash: 8be1a0ea360a63d8dd2120e628b3b349e1db02b8
2024-04-05 15:32:45 -07:00
Shane Smiskol 6bcc026ca5 car docs: no experimental mode for alpha long cars (#32079)
not alpha
old-commit-hash: d7ea27cbddc304c8f6d9e064017a19d26ae945a2
2024-04-04 13:51:26 -07:00
Shane Smiskol 8f8122f409 [bot] Fingerprints: add missing FW versions from new users (#32095)
Export fingerprints
old-commit-hash: 3f81ea2e0ebccadfe3f6499dc8f9904784f19018
2024-04-03 08:05:51 -07:00
Shane Smiskol 8436a67315 [bot] Fingerprints: add missing FW versions from new users (#32086)
Export fingerprints
old-commit-hash: 67ba1154363c8e4f841836afaa20d57319fe3095
2024-04-02 15:25:58 -07:00