Shane Smiskol
25fa73ab85
same which() API
1 year ago
Shane Smiskol
bddb9f3595
remove rest of car.CarParams from the interfaces
1 year ago
Shane Smiskol
b926893b34
remove some car.CarParams from the interfaces
1 year ago
Shane Smiskol
418d1ce230
use dataclass_transform!
1 year ago
Shane Smiskol
9b72521ef2
remove a bunch of temp lines
1 year ago
Shane Smiskol
37304e1325
remove cereal from car_helpers (TODO: caching)
1 year 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
.
1 year 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()`
1 year ago
Shane Smiskol
e52fae0657
revert more
1 year ago
Shane Smiskol
e8afc6ab56
type ret: CarParams, add more missing structs, revert lateralTuning changes (smaller diff!)
1 year ago
Shane Smiskol
ce290a07df
can keep all this the same now!
1 year ago
Shane Smiskol
6e6ab9fdf9
small union replicator is better than what i was trying, and fixes mypy dynamic typing issues
1 year ago
Shane Smiskol
d40da13e71
more lateralTuning
1 year ago
Shane Smiskol
419c143062
temp capnp converter helper
1 year ago
Shane Smiskol
b889d73291
override default with 20hz radar
1 year ago
Shane Smiskol
a55b8d2bd0
bunch more typing
1 year ago
Shane Smiskol
72895af60b
remove more cereal and add some good hyundai tests
1 year ago
Shane Smiskol
593b0a50f6
fix this too
1 year ago
Shane Smiskol
94ef0f8e85
fix this too
1 year ago
Shane Smiskol
05d936673e
fix car tests by removing cereal! mypy forgets about dataclass if we wrap it :(
1 year ago
Shane Smiskol
e54ad02fe3
switch more CarParams stuff over
...
remove unused
1 year ago
Shane Smiskol
78139f73a7
delete
...
This reverts commit 90239b7797
.
1 year ago
Shane Smiskol
90239b7797
add to delete
1 year ago
Shane Smiskol
e21593e86e
clean up old file
1 year ago
Shane Smiskol
a06264a8a4
hell yeah
1 year ago
Shane Smiskol
95351b133c
some clean up
1 year ago
Shane Smiskol
bc242022d0
stash data_structures.py
1 year ago
Shane Smiskol
965f692f2e
epic!
1 year ago
Shane Smiskol
37d40a38bc
safe
1 year ago
Shane Smiskol
9ef0fab1e2
okay actually not bad
1 year ago
Shane Smiskol
7795697983
wtf, how does this work
1 year ago
Shane Smiskol
2e2f8f55c8
stash
1 year ago
Shane Smiskol
3597057c03
this still works, but no type checking anymore
1 year ago
Shane Smiskol
1b7dca87f3
example without builder
1 year ago
Shane Smiskol
d2c5602250
do all fingerprints
1 year ago
Shane Smiskol
db592ed38b
do toyota/values.py
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
Shane Smiskol
1d3e059cc6
ban cereal and msgq
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