* 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
* 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
* return a dict where minor version is not in keys
* limit valid chunks to 3 (max seen)
* First short version character is always 3 (we were using wrong platform code)
* docs updates
* not here
* fixes for printing new platform code format
* ecu notes
* notes
* platform code tests
* no tuple
* can visualize the whole thing now
* make it clear there's no major versions
make it clear there's no major versions
* static analysis
* two minor versions
* fix
* not using dsu
* comment
* comment
* comment
* forgot this one
* bump cereal
* more queries (to see the new time)
* fix
* not sure what i want this to do yet
not sure what i want this to do yet
* no body
* no body
* add test
* spacing
* revert
* check len
* static fix
* shorter cmt
* check LTA faults if using LTA
* add test
* add LTA_STATE
* add comment for 0 state
* why did test_models not catch this?
* code 21
* same behavior as LKA (only if LTA is used)
* common definitions!
* more comment
* directly
* fault
* :
* test out lta message
* correctly send
* percentage is percentage driver isn't overriding
* closer to stock system
* should be able to send LTA at 100hz, counter is the same as LKA
* small amount of torque towards desired
* Offset commanded torque correctly
* Too little torque
* use car's SETME's
* Revert "use car's SETME's"
This reverts commit c888569699.
* try cutting steer every second
* Didn't seem to matter
This reverts commit 6923498b2a.
* steer to 0
* let packer set counter
* add for camry
* log steer faults
* comments
* bump opendbc
* add opParams
* add lta safety
* set safety param
* fix torque control bug
* bump panda
* fix missing signal
* [experiment] apply some rate limiting and anti-windup
* no faults, clip to 90 deg, decent torque blending
* clean up blending
* toyota angle rate limits
* use std angle limits
* assert we only add angle control to TSS2 cars
* clean up carcontroller a bit
* space space
* bump opendbc
* clean up toyotacan from opendbc change
* bump panda
* will tests run?
* steer at zero
* refactor angle to use LatControlPID with zero gains
* stop some faults and tuning
* possibly fix integral wind up at max torque
* Add 2023 rav4
* limit torque inside EPS when overriding (no huge windup in edge cases when overriding)
* fix wind up issue after turns (or prolonged saturation)
* this doesn't work that well
* try these limits
* try this
* log the angle!
* global variable
* Apply suggestions from code review
* clip angle to 3 m/s/s
* some tolerance for roll
* raise limits a bit
* bumppanda
* fix faults
* still not good
* offsetting causing hugging?
* Revert "offsetting causing hugging?"
This reverts commit a42ec0b772.
* reduce kp
* class var not needed
* limit up angle delta
* fix saturation check
* feedforward includes offset
* some threshold for roll
* bump panda
* surely we don't need this
* test stuff
* Toyota: Add FW for 2023 RAV4 Hybrid (#27494)
* Toyota: Add FW for 2023 RAV4 Hybrid
* Set RAVH_TSS2_2022 to use angle SteerControlType
* bump panda
* remove extras
* Revert "remove extras"
This reverts commit 87378e7349.
* no max angle limit for now
* add as separate platforms
* remove debug scripts
* revert to master
* remove these FW versions from 2022
* dashcam these cars :(
* fix test
* interface
* add to untested routes
* never send torque with LTA cars
* fix values
* clean up controlsd
* reset lat control files
* use the car param
* add to params
* bump panda to master
* Update selfdrive/car/toyota/carcontroller.py
* don't set torque params if angle control (fixes controlsd bug)
* reset controlsd
* keyword
* in another pr
* simplify test
* rm line
* Update selfdrive/car/toyota/tests/test_toyota.py
---------
Co-authored-by: crispbee <84819466+crispbee@users.noreply.github.com>