Shane Smiskol
b9dec5e3b5
rm tesla ( #33300 )
...
* rm tesla
* more rm
* ugh we should remove dynamic imports soon
9 months ago
Maxime Desroches
585f362738
lint.sh: better shebang lint ( #33296 )
...
-e
9 months ago
Shane Smiskol
7248b00086
Common CI._update function ( #33289 )
...
* use CP
* no car control, consistent _update function signatures
* eh it's fine to name it whatever
* clean up
* oops
* !!
* now we can delete this!
* nobody does anymore
9 months ago
Shane Smiskol
cb61d0045c
card: set mock carState fields ( #33294 )
...
* mock carstate inside card
* not used
9 months ago
Shane Smiskol
9f14c447db
Move buttonEvents to CarState ( #33292 )
...
* move mazda button events to carstate
* do more
* remove
* some more
* clean up
9 months ago
Shane Smiskol
29882b4519
Consistent spacing in car interfaces ( #33293 )
...
* formatting
* fix these
* not these
9 months ago
Shane Smiskol
d65e1d9500
fix static analysis
9 months ago
Maxime Desroches
1dcd660815
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
9 months ago
Shane Smiskol
65fccbf756
Car interface clean up ( #33290 )
...
* remove some defs
* now carstate
* remove carControl from CI update function
* almost merged that
* and that
9 months ago
Kacper Rączy
9734015bbb
controlsd: use livePose ( #33283 )
...
* Pose calibrator
* Fix static analysis
* Fix static
* Fix test_latcontrol
* Fix test_latcontrol
* Update services in process replay
* Fix static
* Matmul not mul
* Add assertion
* Move pose calibration to data_sample
* Update ref commit
* Remove llk from cycle alerts
* Deprecated nogps event
* Switch power_draw to lp
* Bring back noGps alert
* Add handling code back
* get_bool
* Bring inputsok back
9 months ago
Shane Smiskol
cf39cc823a
Move events out of car interfaces ( #33280 )
...
* chrysler down
* honda and ford
* we can pass the class for this
* do the rest
* clean that up
* remove EventName
* fix CI
* move smallest bodies to top
* rm todo
* eps_timer_soft_disable_alert is too ingrained in carcontroller
* re-did everything w/ no diff (except just passing cereal instead of class)
9 months ago
Shane Smiskol
3d2fbe9aa3
interfaces: assume CarState is instantiated ( #33284 )
...
test to make sure mock doesn't crash!
9 months ago
Shane Smiskol
90ce7781f4
fix fingerprint debug scripts ( #33277 )
...
* fix fp debugging
* fix these
9 months ago
Shane Smiskol
4618e8c124
[bot] Fingerprints: add missing FW versions from new users ( #33276 )
...
Export fingerprints
9 months ago
Shane Smiskol
7ec9986340
carState: add invalid sensors field ( #33266 )
...
* add to CS
* add vehicleSensorsInvalid to CarState
* fix ord
* clean up
9 months ago
Shane Smiskol
4e122ed2d1
remove map from ui preview ( #33265 )
...
* rm map from ui preview
* fix
9 months ago
Shane Smiskol
093c09a737
move the body events to card ( #33262 )
...
* move the body events to card
* rm import
9 months 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
.
9 months ago
Shane Smiskol
2dab8b31f2
Fix some car typing ( #33256 )
...
* ??
* fix these
* more typing and some fixes
* fix
* rm this for now
* fix
9 months ago
Dean Lee
85d8d0eddd
spinner: fix missing colon in QProgressBar border style ( #33258 )
...
fix border style
9 months 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
9 months ago
Shane Smiskol
4300f37cc4
Honda: round minEnableSpeed correctly ( #33250 )
...
round to even
9 months ago
Hoang Bui
c06d975ec4
tools/sim: resolve import error on MacOS running Metadrive ( #33244 )
...
fix dynamic lib linking on mac
9 months ago
Dean Lee
ad33cae40e
pandad: move getenv check to global scope ( #33235 )
...
move getenv check to global
9 months 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
9 months 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
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
Shane Smiskol
ba7a60c5a2
remove CAN capnp conversion from car interfaces ( #33218 )
...
remove pandad from interfaces
9 months 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
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
6c837332ea
selfdrive/car: ban selfdrive/controls ( #33211 )
...
ban controls (VM isn't used anymore)
9 months ago
Comma Device
33bf4bbb13
tici: update spinner and text
9 months ago
Shane Smiskol
d00a539830
get_car: returns just CI ( #33204 )
...
just return CI
9 months 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
9 months 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
9 months 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
9 months ago
Shane Smiskol
87c6afccf7
remove CarVin parameter
9 months ago
Shane Smiskol
5c1e111d8a
remove unnecessary debugging function from car_helpers.py ( #33199 )
...
* format
* better better
* huh
9 months 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
9 months ago
Adeeb Shihadeh
29b58d4f2f
Revert "Remove `setproctitle` ( #32716 )" ( #33195 )
...
* Revert "Remove `setproctitle` (#32716 )"
This reverts commit 83ac80c6c8
.
* uv lock
* old name
9 months ago
Maxime Desroches
44c7144e1c
fix all codespell issues ( #33194 )
...
* bring back
* remove 2020 dictionary
9 months ago
Shane Smiskol
7a7200cbda
[bot] Fingerprints: add missing FW versions from new users ( #33191 )
...
Export fingerprints
9 months 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
9 months ago
Dean Lee
2cd9975e4f
modeld: remove redundant pred_mu assignment ( #33152 )
...
remove redundant pred_mu assignment
9 months 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
9 months ago
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc
.
9 months 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
9 months ago
Maxime Desroches
1dd8bdc791
Remove hexdump package ( #33155 )
...
* remove hexdump
* uv lock
* cleanup
9 months ago