* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
* 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
* 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>
* Enable the distance button to switch personalities for Toyota/Lexus
* Default to the "standard" personality for now
* only parsing first
* only parse
* no personality in card
* safe
* comment
---------
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>
* bump
* bump
* space
* remove from boardd
* set flag for honda to pass tests
* migrate
* Update ref_commit
* final bump
* bump cereal
* bump to master
* 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>
* 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
* 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?
* 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
* 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>
* 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
* 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>