Analog Odometer
Controls a mechanical-style analog odometer display that accumulates distance traveled. Animates digit wheels with realistic rollover behavior and persists the total distance across vehicle resets.
Controls a mechanical-style analog odometer display that accumulates distance traveled. Animates digit wheels with realistic rollover behavior and persists the total distance across vehicle resets.
Public API
| Function | Description |
|---|---|
module.setParameters(parameters) | Sets the parameters. |
Hooks
| Hook | Description |
|---|---|
initSecondStage(jbeamData) | Initializes the HTML texture for the odometer and sets the update frequency based on decimal precision and units. |
reset() | Resets the last known trip value to force a visual update. |
updateGFX(dt) | Periodic check that sends current odometer and trip data to the HTML texture whenever the distance has changed significantly. |
See Also
- Generic Gauges — Universal gauge controller
STM Yaw Estimate Provider
Single-Track Model (STM) based yaw rate reference provider. Calculates the expected yaw rate for the current speed and steering angle using a bicycle model, providing the target reference that the yaw control supervisor compares against actual yaw rate.
Generic Gauges Controller
Universal instrument cluster backend that drives gauge displays for any vehicle. Processes vehicle telemetry (speed, RPM, temperatures, fuel, etc.) into normalized gauge values. Supports custom gauge modules for extensibility.