* 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
old-commit-hash: 3cd0e392eb
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"
This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9
* 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?
old-commit-hash: 9dfd0579d4
* 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
* 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
* add ES 2018
* standard
* add FW versions
* need to add a route
* verified
* add to DSU messages
* add to torque params
* older lexus do not have all-speed dynamic radar cruise control
* update docs
* Update selfdrive/car/toyota/values.py
* add CI route
* update docs
* add to releases
* assume no stop and go (can't know without dsu unplugged)
* Update selfdrive/car/toyota/values.py
* update docs
* update docs
old-commit-hash: 57f3b483e3
* 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>
old-commit-hash: 57c4d78869
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2d
* increase lag on prius
* better offline values computation
* split prius ecu more, set deadzone to 0
* add deadzone back
* replace deadzone with slack
* reduce deadzone to 0.2
* update refs
old-commit-hash: 0706b03e8c
* add resume required alert
* possibly need this (pressing resume with brake held does nothing)
* better text (has both meanings)
* try this
* Revert "try this"
This reverts commit 5b2991929b.
* no alert with interceptor
* check long
old-commit-hash: 3253b85900
* note for dsu cars
* don't hardcode dsu footnote (1/2)
* test
* revert the experimental long toggle
* another day:(
* DSU doesn't have to be toyota specific, it's a generic carParam!
* this is safe, just make sure it's unknown
* these cars do not have OP long for some reason
* UNSUPPORTED_DSU_CAR
* forgot this
* fix autoResume
* fix autoResume 2
old-commit-hash: 3e69973819
* note for dsu cars
* don't hardcode dsu footnote (1/2)
* test
* revert the experimental long toggle
* another day:(
* DSU doesn't have to be toyota specific, it's a generic carParam!
* this is safe, just make sure it's unknown
* these cars do not have OP long for some reason
* UNSUPPORTED_DSU_CAR
* forgot this
* .
* .
* revert
* revert
* smaller diff
old-commit-hash: b0656f2c75
* extend to toyota and hyundai
* remove all pid control in hyundai
* remove indi tunes
* remove toyota lat tunes
* release notes
* rm tunes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6bab0cd67
* Toyota: clean up long tunes a bit
* Update selfdrive/car/toyota/interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2704e2cf4d
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
* Move auto resume in sng to car interface
* Update docs
* shorter name, star
* order
* resumes?
* add hidden detail sentence
* good to know this works, but revert
* VW auto resume
* bump cereal to master
* Update ref_commit
* match cereal
* try this
* ?
?
* like this
old-commit-hash: 452d5e42ec