mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-13 00:42:07 +08:00
f222d434b8
* add timing unit test * formatting * not clean * Revert "not clean" This reverts commit dab35d582c274efc32d693fc0a2773d8727be2bd. * Revert "formatting" This reverts commit 56a1ae4bb721594cc68952e5747a3ebc652f62d9. * need to consider subaddrs (0.3 to 0.7s for toyota) * clean up * move to test_fw_fingerprint * use a thread to get real time * lower threshold * revert that * ? * some sleep * at top * use the config * function to measure query time, similar to opendbc's convention * revert that * avg * Update selfdrive/car/tests/test_fw_fingerprint.py * draft * starting a thread takes a long time! * refs * uncomment
Port structure
interface.py
Generic interface to send and receive messages from CAN (controlsd uses this to communicate with car)
carcontroller.py
Builds CAN messages to send to car
carstate.py
Reads CAN from car and builds openpilot CarState message
values.py
Fingerprints and absolute limits
radar_interface.py
Radar interface