* Hyundai: Car Port for Tucson Hybrid 2022
* Button send attempt
* Fix bit
* Send button fixed bits
* Define all bytes and only send PAUSE/RESUME
* Use CRUISE_INFO to cancel cruise and resume
* LFA and HDA icons
* Send LFA and HDA icons based on engageability
* Update hyundai_tucson_hev_2022.dbc
* GEAR has 24 bytes only
* Fix CRUISE_INFO copy
* Combine LFA_GREY and LFA_GREEN
* LKAS_BTN -> LFA_BTN
* Little endian
* add to ev6 dbc
* rm old stuff
* another val
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
* Revert "remove checksum and counter alignment checks (#634)"
This reverts commit f3232cc32b.
* add logic to ignore checksum check if -1
* think we need size too
* initial commit, bring over from deanlee's PR based on newer commit
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix msb, lsb, size
* fix lsb
* clean up
* need this for CI
* add missing body checksum/counter
* get dir from BASEDIR first, then $HOME
* fix CI
* doesn't work
* just hardcode when compiling
* remove process_dbc
* add test for startup time
* test can parsing
* fix
* better
* bye bye dbc.py
* fix startswith
* add function to get dbc names for plotjuggler
* check DBC_FILE_PATH
* revert
* rename
* slightly more consistent at ~0.57 seconds
* make sure the tests make sense
* test ms per line
* use ctre
* Revert "use ctre"
This reverts commit 5e1a4440e465c901403a9717bbdef5b573e9838e.
* compile regex at import time
* add debug print and lower test time
* add comment
* 0.02 ms per line max
* better error messages
* only include what we need, and make it explicit
* check total time
check total time
* no global
* always a list
* not a c loop any more
* default to list
* use hex
* make static (only calculate path once)
* seems to be more consistent now (30-38 ms)
Co-authored-by: Dean Lee <deanlee3@gmail.com>
* 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