* rename function
* make a wrapper function (ford uses dynamic up/down limits
* make two functions consistent
* make torque function convert to int
old-commit-hash: 581fd62d26
* 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>
old-commit-hash: ef26abcf65
* 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
old-commit-hash: eed6803ccc
* 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>
old-commit-hash: d2eef1955c
* 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>
old-commit-hash: a19d94ae2d
* Adds Honda Ridgeline
Replaced trim level placeholder
Adding 0x301 ridgeline message
(I restructured this slightly since we don't need to repeat `commands.append(make_can_msg(0x300, msg_0x300, idx, 1))` so many times
Updated dbc name
Use pedal_gas to detect gas pressed
Remove unnecessary signal check
Fix array notation
* Tire stiffness factor bumped to 1.5x
* Adds safety tests at line 133
* Revert "Adds safety tests at line 133"
This reverts commit 349edf5b1a879cac704db3786d0626211497bcb7.
* fix failing build due to syntax
* update variables for failing build
* Update interface.py
* Update Tire Slip Factor
old-commit-hash: 28b8043c5b