* reduce the const of copying signal values in CANParser::query_latest
* pass by reference
* use for range loop
* update_strings
* use assign
* track all signals
* use iterator & pointer to avoid copy SignalValue from vector
* use normal dict for vl_all
* update tests
* fix error in merge master
* change thresholds
reduce thresholds
* Trigger CI
* Trigger CI
* Trigger CI
* cleanup ctor
* reduce threshold
* revert changes to test_parser.py
* change thresholds
* remove update_string() from cython
* comment out test_performance_one_signal
* reduce thresholds
* test
* update
* update
* revert that for now
* update
* update
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use can_valid flag from parser and make it consider counter checks
* clean up
* don't show incorrect messages
* add comments
* move threshold to cpp parser
* fix
* use can_valid flag from parser and make it consider counter checks
* clean up
* don't show incorrect messages
* add comments
* move threshold to cpp parser
* only the refactor in this pr
* fix bug and same logic as old cython wrapper can invalid
* still print everything
* clean up
* whoops
* make these properties
revert that
* 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>
* could work
* should be light-speed
* clean up
* clean up
* make sure updated is empty if nothing is updated
updating without a msg is undefined behavior
* should be fast enough
* more test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add updated field
* rename to updated
* draft
* clean up
* function for resetting
* *minor* refactor
* clean up names
* keep track of updated vals in the cc parser
* remove extra lines
* remove ts
* match parser_pyx
* cleaner to just call the cpp function as we don't need to aggregate updated values
* draft
* some tests
* fix test
* clean up
clean up
* test clean up
* add clarifying comments
* Revert "remove ts"
This reverts commit fd4558289d6667a42ab41c4511b0d8fe54eb7fc8.
* fix order
* use vals
* fix dup
* 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