* support for ICE 2022 RAV4
* add to releases
* swap
* add fingerprints from a5c341bb250ca2f0
* update test route
* update docs
* add test for rav4
* values.py is a comma file
* add panda flag for toyota stock long with camera
* clean up
* Add 2022 RAV4 Hybrid from Philly
* fix wrong fw in interface, did this ever work?
* Must be a hybrid
* no radar parsing
* fix can error
* move to own platform
* generate docs
* fix
* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)
* Update values.py
Add 2022 Rav4 XSE Australia
* add commas
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* bump panda
* wait, the camera doesn't even send 0x343, right?
* use a set instead, more obvious
* don't test without a parser
* bump panda
* flip panda flag
* bump panda
* add commas
* regen and update refs
* set to none by default
* revert parenthesis
* update comment
* bump panda
* regen and update refs
* add test models and update readme
* bump to master
Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
* Initial commit
* Fix bugs
* Need more torque rate
* Cleanup cray cray control
* Write nicely
* Chiiil
* Not relevant for cray cray control
* Do some logging
* Seems like it has more torque than I thought
* Bit more feedforward
* Tune change
* Retune
* Retune
* Little more chill
* Add coroll
* Add corolla
* Give craycray a good name
* Update to proper logging
* D to the PI
* Should be in radians
* Add d
* Start oscillations
* Add D term
* Only change torque rate limits for new tune
* Add d logging
* Should be enough
* Wrong sign in D
* Downtune a little
* Needed to prevent faults
* Add lqr rav4 to tune
* Try derivative again
* Data based retune
* Data based retune
* add friction compensation
* Doesnt need too much P with friction comp
* remove lqr
* Remove kd
* Fix tests
* fix tests
* Too much error
* Get roll induced error under 1cm/deg
* Too much jitter
* Do roll comp
* Add ki
* Final update
* Update refs
* Cleanup latcontrol_torque a little more
* proof of concept
* actuators packet describes which actuators are active
* bump cereal
* fixes
* not needed for this PR
* Do Toyota
* add back controlsState.active
* bump cereal
* rest of cars
* in actuators
* add active back
* which
* use controlsState.active for now
* will make an issue
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move local lat_active checks into CC.latActive
* remove redundant checks
* move comment
move comment
* fix joystick mode
* get enabled from carcontrol
* do standstill check in controlsd
* make sure we consider the gas press case for GM
* use CC.actuators
* fix
* capitalization
* Bump cereal
Bump cereal
* make intermediate actuators
* similar convention to before
* clean that up
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Fine tune Prius-V control parameter
* Adjust DBC file and enable SNG support
*Adjust the DBC file to CT200H, the parameters of this model are closer to PRIUS V
*Add PRIUS V to NO_STOP_TIMER_CAR list to enable SNG support
* Update interface.py
remove spaces
* Update values.py
Mod DBC to toyota_rav4_2017_pt_generated
* Update values.py
The file has been updated to resolve the conflict and can be directly merged
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Add Toyota Prius Alpha support
* Fix opendbc link
* Update interface.py
* v
* revert opendbc
Co-authored-by: CT921 <tim.chen242@gmail.com>
Co-authored-by: 【TIM】 <90225659+CT921@users.noreply.github.com>
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Add f/w firmware for Lexus RC under LEXUS_IS
`@ph33rl355#0529` 2020 Lexus RC F Track Edition DongleID/route 32696cea52831b02|2021-11-16--23-12-02
Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229
* Update CARS.md
* Separated Lexus RC from IS... still using IS DBC
* match lexus IS for now
* Update wheelbase to match published specs
I'm hesitant to touch `mass`, even though I know it's different from the IS.
* Add TOYOTA.LEXUS_RC test route
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use ISO 15622:2018 limits in PID controller
* allow more for nidec
* limit PID inputs
* CP is not needed
* add GM
* not used
* update ref
* fix honda bosch
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Split tuning on eps fwVersion \x02 only. See https://github.com/commaai/openpilot/pull/21429#issuecomment-873652891 for findings.
Unify Rav4 & Rav4 Hybrid
Average mass between ICE & Hybrid
Co-Authored-By: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>