* Bugfix in dbc CAN encoder
While encoding, we need to subtract the offset first before we apply the factor.
* Update dbc.py
* Forgot to add import for assert_almost_equal
* test against C++ can packer
* turn into unittest
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Stellantis: Initial WIP DBC
* add more SWCM signals
* ABS yaw rate and accels, auto high beam passthru
* fix STEER_ANGLE signal
* official Stellantis control module names
* Support checksum for extended IDs on 2021 Honda Bosch
Add 2021 Honda Accord Hybrid 2.0T Touring
Update can/common.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Yield a proper 4 bit value.
less space
Revert odyssey changes
Remove RDM signal def
Add new BRAKE_HOLD bits
- From route: 085ac1d942c35910|2021-05-08--17-44-16
Update can/common.cc
* just move to _bosch_2018
* delete that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Updated LDW_02 signal data
* Updated EPS_01/LH_EPS_03 signal data
* Match driver input torque to prior scale
* More EPS_01 -> LH_EPS_03
Co-authored-by: Comma Device <device@comma.ai>
* Modified can parser to run it from PlotJuggler
* Assert for parsing DynamicStruct, can ignore checksum/counter messages
* Only write processed dbc on changes, to prevent cmake compiling
* Do not fail on creating new DBC outputs
* Remove print statement
* outer ignore_checksum and ignore_counter
* whitespace
* migrate to home pc
* style
* this works
* this is hacky
* why doesn't this work
* this should work
* no lint
* link against libdbc wtih abs path
* new env
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Add Subaru Global 2020 dbc
* Rename duplicate Cruise_Status to Cruise_Status_2
* Unify Subaru Crosstrek 2018 and Subaru Global 2017 dbc
* Add ES_DashState Cruise_On, initial Crosstrek 2020 Hybrid Transmission Gear
* dbc syntax fix
* Add R to gear values
* Add Throttle_Hybrid signal
* Use DBC generator for Subaru Global
* Remove Gear from _subaru_global_2017 template
* Fix packer parser test
* Add Checksum and Counter signals to Throttle_Hybrid
* Add filler signal to Brake_Pedal
* Correct dbc min-max values for subaru global 2017 template
* Correct Subaru global min|max values vol2
* Run generator
* rename _subaru_global_2017.dbc template to _subaru_global.dbc
* subaru global: use standard checksum signal naming convention
* subaru checksum
* ignore first byte
* update other subaru dbcs
* revert outback changes, checksum is in a different byte