* 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 ae77d5cd54.
* 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
* including old data and forks
* CAR.HYUNDAI_SANTA_FE_HEV_2022
* CAR.HYUNDAI_IONIQ
* CAR.HYUNDAI_CUSTIN_1ST_GEN
* CAR.KIA_NIRO_PHEV
* CAR.HYUNDAI_IONIQ_HEV_2022
* CAR.GENESIS_G80
* CAR.KIA_SORENTO
* mark MULTI as logging
* rm whitelists
* rm MULTI
* major clean up :D
* faster refs :D
* wow this was a broken test (can fd can be without aux, and this allowed eps)
* expected
* only for camera (needs test change)
* Revert "only for camera (needs test change)"
This reverts commit 6156bcd674.
* better msg
* yes we do
* only including master data since eps and other ecus were only added in last 60 days
* CAR.HYUNDAI_SANTA_FE_2022
* CAR.GENESIS_G70
* CAR.KIA_K5_2021
* CAR.HYUNDAI_SONATA_HYBRID
* CAR.HYUNDAI_ELANTRA_2021
* CAR.HYUNDAI_ELANTRA_HEV_2021
* CAR.HYUNDAI_SANTA_FE
* CAR.KIA_STINGER
* CAR.KIA_NIRO_PHEV_2022
* slightly more data
* data from forks now
* CAR.GENESIS_G70_2020
* CAR.KIA_NIRO_HEV_2021
* CAR.KIA_FORTE
* CAR.HYUNDAI_IONIQ_PHEV
* CAR.HYUNDAI_KONA_EV_2022
* CAR.KIA_STINGER_2022
* HYUNDAI_KONA_EV
* CAR.KIA_OPTIMA_H_G4_FL
* clean up
* 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
* 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>
* 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
* Run bot on 0e13ee2b821302f4
* remove IONIQ CAN fingerprints and move to Niro PHEV (part numbers match!)
* remove dups
* best guess is Hyundai C (IONIQ is also)
* Revert "Revert "Hyundai Azera: allow fingerprinting without comma power" (#31…"
This reverts commit 1ffc58a69a.
* we should get EPS
* add EPS to non-logging can 0 query
* fuck me!
* that kinda makes things pretty nice
* move it down
* and move this comment
* Wip
* more flags :/
* add the debug shit
* add
* lets not break this yet
* MORE flags git add .git add .git add .git add .!
* B
* add mando
* update ref
* possibly better?
* we can use flags here
* formatting
* formatting
* move up
* canfd subclass
* this is more clear
* spacing
* static!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* We never had any bus 0 logging queries for CAN!
* should be logging
* try all, and try on can fd as well
* update refs
* oof forgot about hda2 can fd where pt is bus 1
* sheesh
* fix the timing
* fix ref
* Add 2021 Kia Niro Plug-in Hybrid
* Added CAR.KIA_NIRO_PHEV_2021
* Added CAR.KIA_NIRO_PHEV_2021
Created new block and moved 2022 model to it as well, with correct mass and steerRatio values.
* Added 2021 Kia Niro PHEV
* Added 2021 Kia Niro PHEV
For now, using 2020 Niro EV torque data
* Update values.py
Add '21 Kia Niro PHEV to HYBRID_CAR for gas signal and DBC info
* Test route for 2021 Kia Niro PHEV
* Add public test route for 2021 Kia Niro PHEV
* Fixed typo in test route for 2021 Kia Niro PHEV
* Move '21 Kia Niro PHEV car info under '22
...and remove other mention of '21 as distinct car
* Added '21 Kia Niro PHEV fingerprint under '22
...and removed separate car definition
* Removed '21 Kia Niro PHEV as separate car, now under '22
* Removed '21 Kia Niro PHEV, now under '22 fingerprint
* Removed test route for '21 Kia Niro PHEV
* Update values.py
Missed removing one more reference to '21 Kiro Niro PHEV, consolidating under '22.
* Update selfdrive/car/hyundai/interface.py
* Update selfdrive/car/hyundai/fingerprints.py
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>