Shane Smiskol
90ce7781f4
fix fingerprint debug scripts ( #33277 )
...
* fix fp debugging
* fix these
1 year ago
Shane Smiskol
4618e8c124
[bot] Fingerprints: add missing FW versions from new users ( #33276 )
...
Export fingerprints
1 year ago
Shane Smiskol
7ec9986340
carState: add invalid sensors field ( #33266 )
...
* add to CS
* add vehicleSensorsInvalid to CarState
* fix ord
* clean up
1 year ago
Shane Smiskol
4e122ed2d1
remove map from ui preview ( #33265 )
...
* rm map from ui preview
* fix
1 year ago
Shane Smiskol
093c09a737
move the body events to card ( #33262 )
...
* move the body events to card
* rm import
1 year ago
Shane Smiskol
d330358728
Revert "spinner: fix missing colon in QProgressBar border style" ( #33263 )
...
Revert "spinner: fix missing colon in QProgressBar border style (#33258 )"
This reverts commit 85d8d0eddd
.
1 year ago
Shane Smiskol
2dab8b31f2
Fix some car typing ( #33256 )
...
* ??
* fix these
* more typing and some fixes
* fix
* rm this for now
* fix
1 year ago
Dean Lee
85d8d0eddd
spinner: fix missing colon in QProgressBar border style ( #33258 )
...
fix border style
1 year ago
Shane Smiskol
ee62b9c88b
move capnp CarParams decoding out of car_helpers ( #33251 )
...
* move capnp byte decoding out of car_helpers
* always wanted to type this
* and process replay
* this does nothing
* might as well
1 year ago
Shane Smiskol
4300f37cc4
Honda: round minEnableSpeed correctly ( #33250 )
...
round to even
1 year ago
Hoang Bui
c06d975ec4
tools/sim: resolve import error on MacOS running Metadrive ( #33244 )
...
fix dynamic lib linking on mac
1 year ago
Dean Lee
ad33cae40e
pandad: move getenv check to global scope ( #33235 )
...
move getenv check to global
1 year ago
Shane Smiskol
9880b1393c
selfdrive/car: generic CAN send/receive callbacks ( #33215 )
...
* start
* hmm API doesn't seem great
* better
* rm line
* sendcan -> can_send callable for best static type coverage, list -> tuple msg
TODO: logcan
* more sendcan -> can_send references
* remove pandad's capnp from selfdrive/car
* fix and remove cereal from test_can_fingerprint
* test_fw_fingerprint: remove pandad, less cereal
* comment done too
* better comment
* fix test_models test
* niceeee it works
* move to can_definitions
* can't come up with a better name :(
* I think we can remove SimpleNamespace soon
* fix test_can_fingerprint.py
* maintain previous behavior
* Revert "maintain previous behavior"
This reverts commit f848fd3213
.
* can test comment
* no need for get_one_can now!
* big clean up: no SimpleNamespace
* now self explanatory!
* not needed
* use empty can again since this is now real
* cmt
1 year ago
Shane Smiskol
87f183f43c
CAN fingerprinting: count empty CAN packets as frames ( #33232 )
...
* content of can packet won't affect can fingerprint time
* remove get_one_can
* fix comment
* actually we still want to be able to send empty can (xx fingerprint func does this if it runs out of msgs)
* fix process replay
1 year ago
Shane Smiskol
bd4f0cec18
selfdrive/car: rm make_can_msg ( #33231 )
...
* rm make_can_msg
* fix
1 year 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
1 year ago
Shane Smiskol
ba7a60c5a2
remove CAN capnp conversion from car interfaces ( #33218 )
...
remove pandad from interfaces
1 year ago
Shane Smiskol
8d961a12e5
selfdrive/car: ban common ( #33210 )
...
* ban all of common & copy numpy_fast
* add numpy_fast
* these are okay
* and ban controls
* better name
* Conversions
* do utils, kalman
* clean up
* sorting
* don't forget
1 year 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
1 year ago
Dean Lee
fb560e81ef
pandad: assemble capnp message using separate functions ( #33189 )
...
Assemble capnp message using separate functions
1 year ago
Shane Smiskol
6c837332ea
selfdrive/car: ban selfdrive/controls ( #33211 )
...
ban controls (VM isn't used anymore)
1 year ago
Comma Device
33bf4bbb13
tici: update spinner and text
1 year ago
Shane Smiskol
d00a539830
get_car: returns just CI ( #33204 )
...
just return CI
1 year ago
Shane Smiskol
5a1596a322
selfdrive/car: ban params ( #33198 )
...
* ban params too with a callback
* all sorts of messed up
* use cloudlog
* consistent order
* order
* better type hint
* format
* this is a bit nicer
* hmm
* fix PLR1704
* no carvin
* fix process replay
1 year ago
Shane Smiskol
d1140cc644
fingerprinted: log platform string
...
This does get safely converted to a string in the logs, but in the console it's the repr
1 year ago
Shane Smiskol
86aeb123bc
selfdrive/car: OBD callback ( #33200 )
...
* finish
* pass empty cb
* last fix!
* i keep messing this up
* even more coverage!
* not needed
1 year ago
Shane Smiskol
87c6afccf7
remove CarVin parameter
1 year ago
Shane Smiskol
5c1e111d8a
remove unnecessary debugging function from car_helpers.py ( #33199 )
...
* format
* better better
* huh
1 year ago
Shane Smiskol
06216d43bb
remove more car import exceptions ( #33193 )
...
* remove another exception (remove mention of events from car stack)
* guess this should've been here all along
* reorganize exceptions
* fix
1 year ago
Adeeb Shihadeh
29b58d4f2f
Revert "Remove `setproctitle` ( #32716 )" ( #33195 )
...
* Revert "Remove `setproctitle` (#32716 )"
This reverts commit 83ac80c6c8
.
* uv lock
* old name
1 year ago
Maxime Desroches
44c7144e1c
fix all codespell issues ( #33194 )
...
* bring back
* remove 2020 dictionary
1 year ago
Shane Smiskol
7a7200cbda
[bot] Fingerprints: add missing FW versions from new users ( #33191 )
...
Export fingerprints
1 year ago
Shane Smiskol
12a7b7f7fb
separate car logger forwarded to cloudlog ( #33170 )
...
* car logger
* try this
* fix double printing!
* clean up
* need to import where we actually use it (card won't be in submodule)
* NullHandler does not forward everything properly, need propagate=False to stop root logger from printing
* card is staying
* set up
* forward
1 year ago
Dean Lee
2cd9975e4f
modeld: remove redundant pred_mu assignment ( #33152 )
...
remove redundant pred_mu assignment
1 year ago
Shane Smiskol
7de618a5cf
ensure alerts_generated.h is built ( #33157 )
...
don't build alerts_generated.h in test, and ensure scons builds it more reliably + clean up support
1 year ago
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc
.
1 year ago
Shane Smiskol
ebff7cab1a
get_fw_versions: test the full stack ( #33156 )
...
* add the test
fix
* bump
* not sure why mypy didn't catch this
1 year ago
Maxime Desroches
1dd8bdc791
Remove hexdump package ( #33155 )
...
* remove hexdump
* uv lock
* cleanup
1 year ago
Shane Smiskol
ac130001cc
Revert "update to new opendbc API ( #32009 )"
...
This reverts commit 0dddc97dca
.
1 year 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>
1 year ago
Shane Smiskol
1b6ac2d876
CarController: call to super's init ( #33148 )
...
* this should be common
* super!
* bump
* and frame is common
* bump
1 year ago
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
1 year ago
Shane Smiskol
b6d124d268
tester present msgs: use helper ( #33147 )
...
use helper
1 year ago
Shane Smiskol
661ef03a24
Ford: add long controls todo
1 year ago
Shane Smiskol
0739d79a51
cars: remove some external imports ( #33133 )
...
* ford and gm
* clean that up
* also this
* honda
* temp fix
* move into selfdrive.car
* clean up
* more
1 year ago
Shane Smiskol
0fe143e4a7
test_onroad: lower lower log size bound
1 year ago
Maxime Desroches
9536dd07c6
unpin numpy ( #33132 )
...
* unlock numpy
* remove old cache
* sheel
* lock
* remove temp
* depends
* export
* put this back
* use __version__
* move this
---------
Co-authored-by: quebec <quebec@quebec.attlocal.net>
1 year ago
Shane Smiskol
dfd387520e
process replay: use zst ( #33138 )
...
* test
* update refs to zst
* update
1 year ago
Kacper Rączy
86d8d1d996
torqued: use livePose ( #33136 )
...
* Use livePose
* Replace it in process replay
* Add liveCalibration to messages
* Update ref commit
1 year ago
Shane Smiskol
11cb2d3a0b
qlog_size.py: use zstd ( #33137 )
...
qlog_size: use zstd
1 year ago