* toyota: match set speed from dash
* Use unit bit
* Use RSA2
* flip this
* Universal unit signal, set vEgoCluster
* remove this and bump opendbc
* detect if car interface sets cluster fields
* revert
* needs to be cp
* UI_SPEED is actually always in kph?
* forgot to actually convert it
* same in onroad
* try conv factor only for imperial
* Seems like UI_SPEED is not the UI speed at all
* the dash might floor it
* same openpilot behavior
* bump
* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg
* remove test, bump opendbc
* secret formula
* secret formula v2
* 1.03 is sufficient
* try short press
* bump opendbc
* surely this can be cleaned up
surely this can be cleaned up
* use filter
* redo factors
* try UI_SPEED again with a factor
try UI_SPEED again with a factor
* dash applies hysteresis to speed. this matches pretty well, but not exactly
* make hysteresis generic
* clean up
* revert this
* try this
* read from fake params
* should be mostly good for imperial now
* revert
* revert
* remove toyota stuff
* common function for everyone
* rm line
* fix
* an example with Toyota
* use CS.out
* one mph
* 1 kph
* cmt
* remove cmt
* abs it
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* function for creating button events
* fix
* one line
* alphabetical
alphabetical
* only needed once
* common function for enable events
* add to list
* extend
* fixes
* add type hints
* flip around
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Toyota: use FW query for DSU detection
* make sure we have at least some fw responses
* bool
* add test to test_startup
Co-authored-by: Willem Melching <willem.melching@gmail.com>