MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / BodyControlState

Class BodyControlState

examples/CAN Bus Example/ecu_simulator.py:194–206  ·  view source on GitHub ↗

Body Control Module state.

Source from the content-addressed store, hash-verified

192
193@dataclass
194class BodyControlState:
195 """Body Control Module state."""
196
197 headlights: bool = False
198 high_beams: bool = False
199 turn_left: bool = False
200 turn_right: bool = False
201 hazards: bool = False
202 door_fl: bool = False # True = open
203 door_fr: bool = False
204 door_rl: bool = False
205 door_rr: bool = False
206 trunk: bool = False
207
208
209@dataclass

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected