* 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
* 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
* use torque for 2023 RAV4s that allow it
* FW
* better cmt
* better
* better values comment
* switch
* add torque params
* simpler
* better to use steerControlType
* ???
* fix condition
* adjust params
* pid is only for old cars
* add comment
* move comment up
* one if
fix
* invert
* better comment
* better here
* for
* add torque hybrid test route
* fix condition
* this might be simpler
* back to one if
fix
* better name
* other way
* this reads so much better
* last change
* better
* did i break ci?
* move ui message handling out of condition
* relay openpilot fcw to car
* only send normal fcw if DSU is unplugged
* add comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Toyota: enable BSM on C-Hr
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* remove duplicate block
* Remove useless addition
* make this a comment for now
* remove extra bit
* clean up
* clean up
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* try to disable radar
* fix bug and bump panda
* prep
* always attempt longitudinal for testers
* fix rav4
* send ACC_HUD
* bump panda
* revert
* check for failure to disable
* fix arg
* bump to master
* revert to master
* comments only
* correct check
* carcontroller
* something like this
* or this
* use flag
* send PCS HUD
* clean up
* carstate checks
* fix from test models
* consistent
* try to disable radar
* fix bug and bump panda
* prep
* always attempt longitudinal for testers
* fix rav4
* send ACC_HUD
* bump panda
* revert
* check for failure to disable
* fix arg
* bump to master
* revert to master
* comments only
* radard: tie radard frequency to modelV2
Accumulate parsed messages until state is updated (toyota)
Same for honda
Rename rr to something more descriptive
* Change _update method name, since signature has changed
* Update ref commit
* Some renames
* Check for number of cans
* What if: no signals! 🙅🤌🎆
* do hyundai
* honda!
* do gm
* and vw! (sorry comments)
* do those
* -500
* little more
* fix subie
* change back
* bumpopendbc
* oof lol
* messages
* some clean up
* here too
* clean up honda radar_interface.py
fix
rm
* bump opendbc to master
* add todo
* rename checks in tesla/radar_interface
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* fix subaru fault
* try this!
* wip
* try this
* this more or less worked
* this is all under gen2
* that needs to be up there
* comment
* steer_angle
* test
* wip
* wip
* sync
* wip
* cleanup
* remove print
* use sets and fix unittests
* common fault avoidance
* common fault avoidance
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* revert subaru to get this part merged
* revert name change
* revert name change
* revert name change
* same as before
* add test case
* also verify zero tolerance
* keep the current behavior
* split into multiple tests for easier debugging
* added comments and remove tests
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
* add hybrid FW for a2c30de116fe186d
* add hybrid FW for 60b363805ee9fc06
* add hybrid FW for 5b05f9d3f9574132 & 459707e5f696e897
* remove from extra_ecus, we can't conditionally mark not logging
* add likely protocols
* draft
* clean up
* there was a bug, need to subtract from last_angle essentially
* Revert "there was a bug, need to subtract from last_angle essentially"
This reverts commit a595e4af64.
* maybe
* Revert "maybe"
This reverts commit cc96523cc2.
* or can do this
* this seems simpler and actually would work
* update comment
* fix that case
* joystick testing
* revert testing changes
* comment should be more clear
* can have full thing
* bump panda to lta
* revert cc
* this seems to work well
* constants
* try setme_x64
* 99 just winds up torque?!
* try less torque
* add corolla
* clean up
* clean up
* clean up
* clean up
* better name
* -which
* fix
* fix typo
* use params