Commit Graph

17 Commits

Author SHA1 Message Date
Shane Smiskol b302f6934e
Dynamically parse DBCs (#602)
* 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>
2022-05-12 17:59:33 -07:00
Adeeb Shihadeh 76b7f2e645
cloudlog support (#608)
* cloudlog support

* cleanup
2022-05-11 15:53:02 -07:00
Adeeb Shihadeh 859fea7ded
CAN FD support in packer + parser (#568)
* can fd support in packer + parser

* don't need these anymore

* fix pedal crc

* fix dynamic parsing

* cleanup

* packer test
2022-02-28 09:10:34 -08:00
Adeeb Shihadeh 298c830739
Cleanup dead code in CAN parser + packer (#573)
* remove duplicate implementation

* Cleanup dead code in CAN parser + packer

* little more
2022-02-24 22:58:37 -08:00
Willem Melching ab0095dcf7 static library doesnt work due to constructor hacks 2021-01-05 13:40:13 +01:00
Willem Melching ecb1d137c6 fix parser/packer python build dependency 2021-01-05 13:06:07 +01:00
grekiki 699dc63a88
Scons cython builder (#316)
* 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>
2020-11-26 16:11:23 -08:00
Adeeb Shihadeh c50d4bf1d5 add packer.cc and parser.cc dependencies on their cython extensions 2020-08-01 23:47:57 -07:00
Adeeb Shihadeh 9ee0069ecc rebuild cython extensions when python/cython/distuils change 2020-07-16 13:36:28 -07:00
Adeeb Shihadeh 2265c9c3dc
Build cython extensions in common setup.py (#281)
* build packer and parser with same setup

* fix build

* remove packer setup

* extra compile args
2020-07-08 14:05:16 -07:00
Willem Melching ec3b459587 deterministic dependency order 2019-12-03 12:06:52 -08:00
Willem Melching bce9a2e1c0 packer depends on libdbc 2019-12-03 09:17:34 -08:00
Willem Melching 25d88009b6 consistent naming 2019-12-03 08:22:16 -08:00
George Hotz ffd9dca7de opendbc needs cereal 2019-12-01 16:05:17 -08:00
Comma Device d09294966f seems to work now 2019-12-01 15:54:51 -08:00
Comma Device 3254d1fc67 think scons works 2019-12-01 15:54:51 -08:00
Comma Device eb78f6aa1b scons sort of working 2019-12-01 15:54:51 -08:00