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

Class ChassisState

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

Chassis and ABS state variables.

Source from the content-addressed store, hash-verified

180
181@dataclass
182class ChassisState:
183 """Chassis and ABS state variables."""
184
185 wheel_speed_fl: float = 0.0 # Front left wheel speed km/h
186 wheel_speed_fr: float = 0.0 # Front right wheel speed km/h
187 wheel_speed_rl: float = 0.0 # Rear left wheel speed km/h
188 wheel_speed_rr: float = 0.0 # Rear right wheel speed km/h
189 brake_pressure: float = 0.0 # Brake pressure bar
190 steering_angle: float = 0.0 # Steering angle degrees (-720 to 720)
191
192
193@dataclass

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected