Commit Graph

18 Commits

Author SHA1 Message Date
Louis Velez e57375f1e2
CI: fix macOS test running (#1516)
* CI: fixes MacOS test running

* CI: adds coreutils for nproc

* CI: fixes based on PR

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-11-21 14:16:17 -08:00
Adeeb Shihadeh 3537404a18
no docker (#1081)
* cleanup dependencies

* all

* install

* less

* try this

* slimmm

* skip docker

* silence that one

* disable for now

* e

* fix build

* bring that back

* not ready yet
2024-08-17 12:04:46 -07:00
Dean Lee 39a5345924
CANParser: remove dependence on cereal (#934)
* move car interfaces to opendbc

* Revert "move car interfaces to opendbc"

This reverts commit 0589ea0dbe.

* remove dependence on cereal

* parse can strings in a c++ helper function

* remove all cereal

* reserve

* use itervalues

* rebase master

* cleanup

* keep the same style

* revert unrelated changes

* truly no cereal!

* same capitalization

same capitalization

* parser: declutter nanos usage (#1067)

thought there'd be more

* revert more

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-07-31 00:10:20 -07:00
Adeeb Shihadeh e0d4be4a62
update to ubuntu 24.04 (#1037)
* update to ubuntu 24.04

* Update .github/workflows/repo.yml

* Update tests.yml

* Update Dockerfile

* bump cereal

* no pyenv

* python3 dev

* vla

* python
2024-04-28 14:04:59 -07:00
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 5e1a4440e4.

* 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