* Added fingerprint for Hyundai Elantra 2021
This fingerprint started popping up on my 2021 Hyundai Elantra SEL (non-hybrid).
* Update values.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* completely untested
* it builds now
* bug fixes, save 1ms
* using a kernel to copy works
* more sane API to loadyuv
Co-authored-by: Comma Device <device@comma.ai>
* Honda carstate: refactor MAIN_ON signal
MAIN_ON handling was scattered throughout the code since
the enclosing message differed by model. Store the message
name in the instance.
Several cases in get_can_signals() and update() were
subsequently collapsed.
* remove duplicate BRAKE_HOLD_ACTIVE signal
* Update selfdrive/car/honda/carstate.py
* add some whitespace
* cleanup carstate
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* acados long
* new ref
* SPPEEEEEDDD
* less iterations
* this shouldn't be so high
* reset only essentials
* minimal reset for long mpc
* more cpu usage plannerd
* Use lead mpc even when going to crash
* reset to current state
* Use open loop speed for lead mpc
* 1 iteration is too little for cruise mpc
* add whitespace
* update refs
* panda
* bring over changes
* dont check car model
* remove comment
* fix typo
* more stuff gated behind long
* not
* not used
* gate that too
* try honda tuning
* clip accel values
* fix up merge
* fix stopping
* add retry logic around knockout
* increase timeout
* keep flipping lead bit
* true for now
* less tuning
* update comment
* 0.1 s is fine now
* merge honda and hyundai knockout
* more lead fields
* another obj bit
* increase timeout
* fix stopping flag
* only lag compensate for braking
* no lead
* less tuning
* only do knockout if not readonly
* try controlling using jerk
* tuning
* try higher stopping rate
* set stopping flag at higher speed
* clip upper jerk when stopping
* remove comments
* tester present 1hz
* use positive start accel
* 1.0 to maybe improve low speed stuff
* no point going over 0
* bump panda
* bump panda
* revert that change
* update ref