Shane Smiskol
d17f3d235e
forgot this
11 months ago
Shane Smiskol
0c89b2b4c6
latcontrollers take capnp
11 months ago
Shane Smiskol
abbb97a764
(partial) fix process replay fingerprintig for new API
11 months ago
Shane Smiskol
594d0b7e16
dataclass to capnp helper for CarParams, cached it since it's kinda slow
11 months ago
Shane Smiskol
20b34cbb00
more typing
11 months ago
Shane Smiskol
2b164dd3e1
from cereal/cache from fingerprinting!
11 months ago
Shane Smiskol
6f16c66d8c
sort
11 months ago
Shane Smiskol
25fa73ab85
same which() API
11 months ago
Shane Smiskol
bddb9f3595
remove rest of car.CarParams from the interfaces
11 months ago
Shane Smiskol
b926893b34
remove some car.CarParams from the interfaces
11 months ago
Shane Smiskol
418d1ce230
use dataclass_transform!
11 months ago
Shane Smiskol
9b72521ef2
remove a bunch of temp lines
11 months ago
Shane Smiskol
37304e1325
remove cereal from car_helpers (TODO: caching)
11 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
.
11 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()`
11 months ago
Shane Smiskol
e52fae0657
revert more
11 months ago
Shane Smiskol
e8afc6ab56
type ret: CarParams, add more missing structs, revert lateralTuning changes (smaller diff!)
11 months ago
Shane Smiskol
ce290a07df
can keep all this the same now!
11 months ago
Shane Smiskol
6e6ab9fdf9
small union replicator is better than what i was trying, and fixes mypy dynamic typing issues
11 months ago
Shane Smiskol
d40da13e71
more lateralTuning
11 months ago
Shane Smiskol
419c143062
temp capnp converter helper
11 months ago
Shane Smiskol
b889d73291
override default with 20hz radar
11 months ago
Shane Smiskol
a55b8d2bd0
bunch more typing
11 months ago
Shane Smiskol
72895af60b
remove more cereal and add some good hyundai tests
11 months ago
Shane Smiskol
593b0a50f6
fix this too
11 months ago
Shane Smiskol
94ef0f8e85
fix this too
11 months ago
Shane Smiskol
05d936673e
fix car tests by removing cereal! mypy forgets about dataclass if we wrap it :(
11 months ago
Shane Smiskol
e54ad02fe3
switch more CarParams stuff over
...
remove unused
11 months ago
Shane Smiskol
78139f73a7
delete
...
This reverts commit 90239b7797
.
11 months ago
Shane Smiskol
90239b7797
add to delete
11 months ago
Shane Smiskol
e21593e86e
clean up old file
11 months ago
Shane Smiskol
a06264a8a4
hell yeah
11 months ago
Shane Smiskol
95351b133c
some clean up
11 months ago
Shane Smiskol
bc242022d0
stash data_structures.py
11 months ago
Shane Smiskol
965f692f2e
epic!
11 months ago
Shane Smiskol
37d40a38bc
safe
11 months ago
Shane Smiskol
9ef0fab1e2
okay actually not bad
11 months ago
Shane Smiskol
7795697983
wtf, how does this work
11 months ago
Shane Smiskol
2e2f8f55c8
stash
11 months ago
Shane Smiskol
3597057c03
this still works, but no type checking anymore
11 months ago
Shane Smiskol
1b7dca87f3
example without builder
11 months ago
Shane Smiskol
d2c5602250
do all fingerprints
11 months ago
Shane Smiskol
db592ed38b
do toyota/values.py
11 months ago
Shane Smiskol
c2ec763c4c
Merge remote-tracking branch 'upstream/master' into no-capnp-cars-simple
11 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
11 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
11 months ago
Shane Smiskol
bd4f0cec18
selfdrive/car: rm make_can_msg ( #33231 )
...
* rm make_can_msg
* fix
11 months ago
Maxime Desroches
40e54a3b4f
op lint: specify tests to run ( #33229 )
...
args
11 months ago
Maxime Desroches
eb50f5cae8
static_analysis: use 24.04 for everyone ( #33227 )
...
* noble
* test it
* Revert "test it"
This reverts commit 393868bf5f
.
11 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
11 months ago