Commit Graph

14 Commits

Author SHA1 Message Date
Adeeb Shihadeh 23878eecf0 update build flag 2023-08-24 14:04:09 -07:00
Maxime Desroches 4231b0f12d
Update cython (#903)
* cython

* ref

* test

* Werror
2023-07-18 14:06:53 -07:00
Adeeb Shihadeh 06a3e7db6f
add cpplint (#773)
* add cpplint

* passes

* bump cereal

* here's a real hash
2022-12-31 16:49:26 -08:00
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 9f3902657d cleanup sconstruct 2022-04-19 10:55:38 -07:00
Mayfield fc71f723ee
enable wshadow (#461)
* enable Wshadow flag

* specify cereal commit

* exclude cython

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-02 14:40:00 +01:00
Willem Melching 23a500ef83
Fix CI: export common and add numpy includes (#421)
* Fix CI: export common in SConstruct

* add numpy includes

* add numpy to requirements
2021-08-30 17:53:14 -07:00
Adeeb Shihadeh 29cec9b8cc fix missing QCOM_REPLAY import in cereal SConscript 2021-01-30 17:20:13 -08: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
Willem Melching 25dc12a87b
c++17 (#305) 2020-10-17 12:41:35 -07:00
Adeeb Shihadeh 9ee0069ecc rebuild cython extensions when python/cython/distuils change 2020-07-16 13:36:28 -07:00
Adeeb Shihadeh 3cfb5c7778
enable -Wunused (#280) 2020-07-08 00:39:35 -07:00
Adeeb Shihadeh 1fd5a9b954 enable -Werror 2020-06-27 17:43:51 -07:00
Willem Melching a265d3512c
Azure pipelines ci (#202)
* add docker file and sconstruct

* this should work in ci

* remove branch name
2019-12-03 19:45:33 +01:00