* ban all of common & copy numpy_fast
* add numpy_fast
* these are okay
* and ban controls
* better name
* Conversions
* do utils, kalman
* clean up
* sorting
* don't forget
* 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
* 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>
* Toyota TSS-P: parse distance button from SDSU
* it's 1000hz wtf... da99509bd910288a/2024-03-04--13-51-30
* add events for SDSU
* need to check for CAN filter
* clena up
* check
* whoops
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* part 1. Toyota platform config
* more
* everything works now
* no more DBC
* janky but that saves a lot of car lines
* need to init inside values or else it won't be reliable
* no return
* fixes
* minor update
* common flags, no dbc grouping
* some clean up
* some clean up
* rename
* copied wrong :(
* another
* copied specs for easiest ones first
* second easiest
* fix erroneous commas
* more clean up
* do the rest
* bug
* the refactor is so error prone
* huh?!
* static
* fix stiffness factor
* detect unsupported DSU
* Revert "detect unsupported DSU"
This reverts commit 9b72de6c8e.
* fix DBC diff
* test carparams
* test sets
* scratch
* catches this
* Revert "scratch"
This reverts commit de08daa9fb.
* Revert "test sets"
This reverts commit 62402f9b02.
* Revert "test carparams"
This reverts commit b02971659c.
* Update ref_commit
* Initial pass
* Add physical measurements for LEXUS_LC_2024
* Add new test route for TOYOTA.LEXUS_LC_TSS2
* Add new public-OK test route for TOYOTA.LEXUS_LC_TSS2
* update docs
* | not /
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
* use radar instead of abs
* str the strenum
* Lexus ES: non-TSS2 probably don't have stop and go without DSU-pull and/or pedal
* remove from NO_STOP_TIMER_CAR. this set is so confusing
* Combine ES & ESH (preferring ESH's DSU msgs)
* ES: forgot substitute
* comment
* Highlander: combine, preferring the hybrid for DSU msg mismatches (0x365 and 0x366)
* remove duplicates and sort
* update docs
* toyota non_essential ECU test
* Lexus RX: combine, preferring hybrid's msgs (they all exist on ICE)
* sort and remove dups
* parameterize so we can test with notebook
* this too
* clean up
* clean up
* tuple makes more sense
* update comments
* update
* update
* update
* have been running this for a few weeks: good
* set setme_x3 closer to stock
* add comment to values about additional EPS torque rate safety
* rename some variables
* should use vEgoRaw here to match panda!
* switch
* more notes
* specify
* smaller
* for
* oof
* added GSF ECU values
* Added Lexus GSF data
* added route for GSF
* test RC code
* revert fingerprints back from RC test to GSF
* fixed type for route
* specify route segment for GSF
* added GSF to torque substitute
* removed year designation for GSF
* added MY back to all "Lexus GSF"
* removed route, don't think it does anything
* move GSF ecu values to better place
* remove whitespace from toyota > interface.py
* added in public route for LEXUS_GSF
* added GSF to docs
* update test route
* update test route
* update 266 Supported cars
* trying different dbc
* updated to working route
* clean up
* add to releases
* updated test route
* new route
* docs
* slightly better torque params
---------
Co-authored-by: cchui <cchui@eogresources.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* add test from hyundai
* found tss2
* abs and engine are very rarely shared (avalonh tss2 and camryh tss2 is one example)
* some bad regex
* some pattern work
* some work
* .
* some conceptual clean up
* fix short fw pattern
* hyundai test
* clean up values.py a bit
* print platform codes
* hyundai fuzzy
* pass test
* move around constants
* clean up
* clean up hyundai
* fix print
* more clean up, fix med pattern
* add documentation
* use major version
* some clean up from merge
* some clean up from merge 2
* spot check
* clean up imports
* missing FW_QUERY_CONFIG
* short version: always prefixed with 3, get real platform code
* limit to max chunks seen (3)
* rm engine
* fix that
* get_platform_codes returns dict
* tests
* comments
* fix test
* enable a test
* fix script
* print ecu parts
* enable old test
* clean up some tests
* clean up
* more clean up
* static
* this is all it took?
* add note
* ...
* use less ECUs
* bump
* todo
* clean up fuzzy fp function
* make deterministic in a feat of engineering
* add temp exclude_fw argument for testing
* fix logic
* add blacklist
* add platform and its matches
* fix for nb
* remove fw exclusion
* Revert "remove fw exclusion"
This reverts commit 0e3b47c5a3.
* clean up
* Revert "Revert "remove fw exclusion""
This reverts commit 42c55f006a.
* these two have similar chassis according to wikipedia (but mass is relatively different)
* Revert "Revert "Revert "remove fw exclusion"""
This reverts commit 0f87423342.
* Revert "Revert "Revert "Revert "remove fw exclusion""""
This reverts commit 2411967f5a.
* oof
* shadows global variable
* rm comment
* combine corolla
* corolla tss2: remove duplicates
* remove gas pedal hybrid signal
* combine RX TSS2
* we only split for static DSU msgs, or sng differences
* Combine NX TSS2
* remove nb
* Combine ES TSS2
* Combine RAV4 TSS2 (torque params for each EPS variant are similar enough, and eps and fwdcamera all are identical)
* Merge TSS-P Lexus NX
* TSS-P Lexus NX: remove duplicates
* TSS-P C-HR: merge
* TSS-P C-HR: remove duplicates
* fix routes
* re-did everything: no diff 🎉
* update test models seg list
* Update ref_commit