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
Dean Lee
ad33cae40e
pandad: move getenv check to global scope ( #33235 )
...
move getenv check to global
10 months ago
Shane Smiskol
db592ed38b
do toyota/values.py
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
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
Shane Smiskol
ba7a60c5a2
remove CAN capnp conversion from car interfaces ( #33218 )
...
remove pandad from interfaces
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
Shane Smiskol
6c837332ea
selfdrive/car: ban selfdrive/controls ( #33211 )
...
ban controls (VM isn't used anymore)
10 months ago
Shane Smiskol
1d3e059cc6
ban cereal and msgq
10 months ago
Comma Device
33bf4bbb13
tici: update spinner and text
10 months ago
Shane Smiskol
d00a539830
get_car: returns just CI ( #33204 )
...
just return CI
10 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
10 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
10 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
10 months ago
Shane Smiskol
87c6afccf7
remove CarVin parameter
10 months ago
Shane Smiskol
5c1e111d8a
remove unnecessary debugging function from car_helpers.py ( #33199 )
...
* format
* better better
* huh
10 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
10 months ago
Adeeb Shihadeh
29b58d4f2f
Revert "Remove `setproctitle` ( #32716 )" ( #33195 )
...
* Revert "Remove `setproctitle` (#32716 )"
This reverts commit 83ac80c6c8
.
* uv lock
* old name
10 months ago
Maxime Desroches
44c7144e1c
fix all codespell issues ( #33194 )
...
* bring back
* remove 2020 dictionary
10 months ago
Shane Smiskol
7a7200cbda
[bot] Fingerprints: add missing FW versions from new users ( #33191 )
...
Export fingerprints
10 months ago