mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 04:52:09 +08:00
a7db075f08
* 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 f848fd32132391692c6191a305bb38f74091ec91. * 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 old-commit-hash: 9880b1393c7bfc2b71aec01b6b91caffb72f9cc0
Car port structure
interface.py
Generic interface to send and receive messages from CAN (controlsd uses this to communicate with car)
fingerprints.py
Fingerprints for matching to a specific car
carcontroller.py
Builds CAN messages to send to car
carstate.py
Reads CAN from car and builds openpilot CarState message
values.py
Limits for actuation, general constants for cars, and supported car documentation
radar_interface.py
Interface for parsing radar points from the car