Shane Smiskol
d17f3d235e
forgot this
1 year ago
Shane Smiskol
0c89b2b4c6
latcontrollers take capnp
1 year ago
Shane Smiskol
abbb97a764
(partial) fix process replay fingerprintig for new API
1 year ago
Shane Smiskol
594d0b7e16
dataclass to capnp helper for CarParams, cached it since it's kinda slow
1 year ago
Shane Smiskol
20b34cbb00
more typing
1 year ago
Shane Smiskol
2b164dd3e1
from cereal/cache from fingerprinting!
1 year ago
Shane Smiskol
6f16c66d8c
sort
1 year ago
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
c2ec763c4c
Merge remote-tracking branch 'upstream/master' into no-capnp-cars-simple
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
Maxime Desroches
40e54a3b4f
op lint: specify tests to run ( #33229 )
...
args
1 year ago
Maxime Desroches
eb50f5cae8
static_analysis: use 24.04 for everyone ( #33227 )
...
* noble
* test it
* Revert "test it"
This reverts commit 393868bf5f
.
1 year 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
1 year ago