Dean Lee
ad33cae40e
pandad: move getenv check to global scope ( #33235 )
...
move getenv check to global
9 months ago
Shane Smiskol
bd4f0cec18
selfdrive/car: rm make_can_msg ( #33231 )
...
* rm make_can_msg
* fix
9 months ago
Shane Smiskol
51bd368214
make_can_msg: returns tuple ( #33222 )
...
* bump
* make_man_msg returns tuple
* fix CI.update typing
* bump
* better name
* Revert "better name"
This reverts commit 4deb38d4ed
.
* common
9 months ago
Dean Lee
a4de8739e9
pandad: refactor to consolidate threads, keep only one can_send thread ( #32680 )
...
* single thread
improve comment
* Keep can_send() running in a separate thread
* send send_peripheral_state in pandad_run
* new PandaSafety class
9 months ago
Dean Lee
fb560e81ef
pandad: assemble capnp message using separate functions ( #33189 )
...
Assemble capnp message using separate functions
9 months ago
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc
.
9 months ago
Shane Smiskol
ac130001cc
Revert "update to new opendbc API ( #32009 )"
...
This reverts commit 0dddc97dca
.
9 months ago
Dean Lee
0dddc97dca
update to new opendbc API ( #32009 )
...
* use new opendbc api
* export pandad_python
* merge master
* merge master
* bump opendbc
* bump opendbc
* improve func
* keep interface unchanged
* fix test_car_interfaces
* bump opendbc
* bump opendbc
* fix test_models
* the interface now has to convert from can capnp to list, so we should include this time
* goes from ~210 to ~240 mean ms real time
* remoe busTime
* lowercase sendcan
* consistent msgtype
* bump
* bump
* not used in lat_mpc
* space
* bump to master
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
9 months ago
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
9 months ago
Dean Lee
2156870df9
pandad: remove return statement in constructor ( #32975 )
...
remove return
10 months ago
Adeeb Shihadeh
f08137f618
pandad: update test thresholds
11 months ago
Dean Lee
8065b454c9
pandad: removed the redundant .c_str() call ( #32724 )
...
Removed the redundant .c_str() call
11 months ago
Adeeb Shihadeh
f8cb04e4a8
pandad/SPI: ensure slave is in a consistent state ( #32645 )
...
* maxout
* get ready for the next one
* really get ready
* much better
---------
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Harald Schäfer
e70dc90a45
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
Adeeb Shihadeh
1093a4ac82
pandad: fix receive buffer size on failed transfer ( #32670 )
11 months ago
Adeeb Shihadeh
57f21abb4f
pandad: fix loopback test ( #32656 )
...
* pandad: fix loopback test
* clear all params
* try this
---------
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Harald Schäfer
e71ec4e8d7
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
11 months ago
Adeeb Shihadeh
260e18f0ae
fix linter
11 months ago
Adeeb Shihadeh
e828a7bdcf
pandad: add more context to spi logs ( #32639 )
...
* pandad: add more context to spi logs
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Adeeb Shihadeh
a46f1c6eba
pandad: add jungle spam mode to test ( #32636 )
...
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Adeeb Shihadeh
7b09285817
pandad: move to core 3 ( #32402 )
...
* move to core 3
* core is fully offlined now
* move to init
---------
Co-authored-by: Comma Device <device@comma.ai>
11 months ago
Adeeb Shihadeh
877b810ac9
pandad: reset CAN comms on checksum failure ( #32629 )
11 months ago
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
11 months ago