Shane Smiskol
9b72521ef2
remove a bunch of temp lines
10 months ago
Shane Smiskol
37304e1325
remove cereal from car_helpers (TODO: caching)
10 months ago
Shane Smiskol
672fc00b02
Revert "get first enum automatically, but ofc mypy doesn't pick up the new metaclass so can't use :("
...
This reverts commit bb28b228be
.
10 months ago
Shane Smiskol
bb28b228be
get first enum automatically, but ofc mypy doesn't pick up the new metaclass so can't use :(
...
would have been `CarParams.NetworkLocation()`
10 months ago
Shane Smiskol
e52fae0657
revert more
10 months ago
Shane Smiskol
e8afc6ab56
type ret: CarParams, add more missing structs, revert lateralTuning changes (smaller diff!)
10 months ago
Shane Smiskol
ce290a07df
can keep all this the same now!
10 months ago
Shane Smiskol
6e6ab9fdf9
small union replicator is better than what i was trying, and fixes mypy dynamic typing issues
10 months ago
Shane Smiskol
d40da13e71
more lateralTuning
10 months ago
Shane Smiskol
419c143062
temp capnp converter helper
10 months ago
Shane Smiskol
b889d73291
override default with 20hz radar
10 months ago
Shane Smiskol
a55b8d2bd0
bunch more typing
10 months ago
Shane Smiskol
72895af60b
remove more cereal and add some good hyundai tests
10 months ago
Shane Smiskol
593b0a50f6
fix this too
10 months ago
Shane Smiskol
94ef0f8e85
fix this too
10 months ago
Shane Smiskol
05d936673e
fix car tests by removing cereal! mypy forgets about dataclass if we wrap it :(
10 months ago
Shane Smiskol
e54ad02fe3
switch more CarParams stuff over
...
remove unused
10 months ago
Shane Smiskol
78139f73a7
delete
...
This reverts commit 90239b7797
.
10 months ago
Shane Smiskol
90239b7797
add to delete
10 months ago
Shane Smiskol
e21593e86e
clean up old file
10 months ago
Shane Smiskol
a06264a8a4
hell yeah
10 months ago
Shane Smiskol
95351b133c
some clean up
10 months ago
Shane Smiskol
bc242022d0
stash data_structures.py
10 months ago
Shane Smiskol
965f692f2e
epic!
10 months ago
Shane Smiskol
37d40a38bc
safe
10 months ago
Shane Smiskol
9ef0fab1e2
okay actually not bad
10 months ago
Shane Smiskol
7795697983
wtf, how does this work
10 months ago
Shane Smiskol
2e2f8f55c8
stash
10 months ago
Shane Smiskol
3597057c03
this still works, but no type checking anymore
10 months ago
Shane Smiskol
1b7dca87f3
example without builder
10 months ago
Shane Smiskol
d2c5602250
do all fingerprints
10 months ago
Shane Smiskol
db592ed38b
do toyota/values.py
10 months ago
Shane Smiskol
c2ec763c4c
Merge remote-tracking branch 'upstream/master' into no-capnp-cars-simple
10 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
10 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
10 months ago
Shane Smiskol
bd4f0cec18
selfdrive/car: rm make_can_msg ( #33231 )
...
* rm make_can_msg
* fix
10 months ago
Maxime Desroches
40e54a3b4f
op lint: specify tests to run ( #33229 )
...
args
10 months ago
Maxime Desroches
eb50f5cae8
static_analysis: use 24.04 for everyone ( #33227 )
...
* noble
* test it
* Revert "test it"
This reverts commit 393868bf5f
.
10 months ago
Maxime Desroches
f8f6c39915
op.sh: lint ( #33217 )
...
* redo
* better
* fix this
* clean everything
* all files
* test
* debug
* get info
* revert
* only good files
* allow skip
* also this
* help section
10 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
10 months ago
Maxime Desroches
184519834c
more codespell errors ( #33223 )
...
more spell
10 months ago
Shane Smiskol
ba7a60c5a2
remove CAN capnp conversion from car interfaces ( #33218 )
...
remove pandad from interfaces
10 months ago
Maxime Desroches
3af774725f
Revert "pre-commit: bring back some checks ( #33196 )" ( #33216 )
...
This reverts commit 30467b44cd
.
10 months ago
Maxime Desroches
30467b44cd
pre-commit: bring back some checks ( #33196 )
...
* add this
* add this
* nice ...
* 120
* remove
* no remote
* 0
* this
* no submodules
* like this
* try this
* validate
* like this
* split
* pass files
* no par
* check exist
* no build
* fix
* 24.04
* default
* test failure
* continue
* actually fail
* clean
* import
* fix
* line
* mypy
* clean
* simpler
* final
* better
* final clean
* not true
10 months ago
Shane Smiskol
10f27a6a1b
selfdrive/car: ban the rest of the external imports ( #33214 )
...
more bans
10 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
10 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
10 months ago
Dean Lee
fb560e81ef
pandad: assemble capnp message using separate functions ( #33189 )
...
Assemble capnp message using separate functions
10 months ago
Adeeb Shihadeh
16c36b0d8b
sensord: error -> warning for expected failures
10 months ago
Adeeb Shihadeh
ec9149c20e
docs: add #current-projects link
10 months ago