* cleanup and scoping fixes
* static analysis feels sad without this
* remove extra read of clutch switch signal
* don't check Motor_14 unless it's needed
* collect short CP/CS aliases together
* Mazda CX-9 no steer lockout, and newer cars can use more torque
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-9 2021 test route
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* cleanup
* more cleanup
* don't show community features alert if dashcam only
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* ignore permanent low speed lockout
* should always check in case not seen
* use cp_cam
* not bus 0
* change signal name according to ref dbc
* bump
* we don't rely on this
* bump
* Revert "Toyota: debug logging for low speed lockout (#21526)"
This reverts commit 7f2ad50fed.
* add back
* always add
* pass acc_type through
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* only update acc_type if not enableDsu
* only add when using
* only for openpilot long cars
* only seen TSS2
* add todo
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* refactor
* needs casting
* tests pass
* fix that test
* refactor in controls
* lets not go crazy
* change of names
* use constants
* better naming
* renamed
* soft constraints
* compile slack variables
* rm git conflict
* add slack variables
* unused
* new edition
* fcw
* fix tests
* dividing causes problems
* was way too slow
* take a step back
* byeeee
* for another time
* bad idxs
* little more cpu for cruise mpc
* update refs
* these limits seem fine
* rename
* test model timings fails sometimes
* add default
* save some cpu
* Revert "little more cpu for cruise mpc"
This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.
* Revert "test model timings fails sometimes"
This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.
* update refs
* less cpu
* Revert "Revert "test model timings fails sometimes""
This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.
* Revert "less cpu"
This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.
* cleanup
* not too much until we clean up mpc
* more cost on jerk
* change ref
* add todo
* new ref
* indentation
* Testing addition of 2019 Kira Niro PHEV
* Testing addition of 2019 Kia Niro PHEV
* Fix typos
* Remove bad Optima fw, switch Niro to FPv2
* Set minimum steer speed for 2019 Kia Niro HEV/PHEV
* Add 2019 Kia Niro PHEV to README
* Fix typo
* apparently we get trailing garbage sometimes
* No FCA11 message, also use ELECT_GEAR
* i am not good with alphabet
* Add test route for Niro HEV
* Remove LFA for 2019; no legacy safety
* minSteerSpeed handling
* vehicle disengages SCC below 10mph
* no longer need Genesis specific code for minSteerSpeed
* simplify
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>
* Use can definitions and refactor gear Hyundai parsing
* comment
* auto detect gearbox message
auto detect gearbox message
remove todos
remove todos
* comment
* Revert "comment"
This reverts commit 4b5129004e.
* Revert "auto detect gearbox message"
This reverts commit bcdf7c452d.
* no longer needed
* bump