* 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>
old-commit-hash: b3e4eb15dc
* 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>
old-commit-hash: cb342461f0
* 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
old-commit-hash: 0aa6e2ce41
* 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
old-commit-hash: 460f5c8e0b
* 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>
old-commit-hash: cbfcc40571
* fix spacing
* more spacing
* better names and comments
* this default doesn't make sense
* or this
* explicitly boolean since latActive is
old-commit-hash: dba4492aa0
* 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>
old-commit-hash: a19f8dce92
* 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
old-commit-hash: c01ba907c0
* lower limits a bit (matches ford and less wind up since Toyota EPS limits to 2 m/s up)
* revert down limits, up was too high
old-commit-hash: 221bbfe95e
* 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
* bodyless
* add documentation
* cmt
* cmt
* 1a
* oof
* just the comments
* revert
* ?
old-commit-hash: bdd778592d
* 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
old-commit-hash: 3b8aec4b06
* disallowed openpilotLongitudinalControl when experimental_long is off on radarUnavailable vehicle
* try this
* this is a better check?
* use it here
* use it here
* more explicit (pending more cleanup)
* some documentation
* clean up
* same
* this also works, but it adds a bunch of indirection
* Revert "this also works, but it adds a bunch of indirection"
This reverts commit 822095b965.
* Update selfdrive/car/toyota/interface.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1b98fea696
* use class params
* combine limiting, logic to create commands, and creating commands into one place
* remove super old debugging comment
* log angle
* Revert "log angle"
This reverts commit f5b763c59a.
* add headers
old-commit-hash: 11494118e8
* 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
* :
old-commit-hash: 07e276d5cf
* 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
* revert LTA
* no lta here
* revert test
* no period
* -LTA
* init
old-commit-hash: 7171e052bf