mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 23:22:04 +08:00
a410244e3d
* Honda carstate: refactor MAIN_ON signal MAIN_ON handling was scattered throughout the code since the enclosing message differed by model. Store the message name in the instance. Several cases in get_can_signals() and update() were subsequently collapsed. * remove duplicate BRAKE_HOLD_ACTIVE signal * Update selfdrive/car/honda/carstate.py * add some whitespace * cleanup carstate Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 7ee9ba34dd6117a68974314ba0bd6c79cc7ddbd4
Port structure
interace.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