mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-04 15:56:08 +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: 7ee9ba34dd
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