Electric Motor Data Gauge Module
Custom gauge module that provides electric motor telemetry to instrument cluster displays — motor RPM, power output, battery state, regenerative braking level, and efficiency data.
Custom gauge module that provides electric motor telemetry to instrument cluster displays — motor RPM, power output, battery state, regenerative braking level, and efficiency data.
Public API
| Function | Description |
|---|---|
updateGaugeData(moduleData, dt) | populates moduleData with battery percentage, motor power/torque, and regenerative braking intensity. |
module.setupGaugeData(properties) | Sets the up gauge data. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Connects to the electric motor device and battery storage. |
module.reset() | Resets the controller to its initial state. |
module.updateGFX(dt) | Per-frame update for visual state and UI synchronization. |
See Also
- Generic Gauges — Parent gauge system
- Electric Motor Shift Logic — EV powertrain control
Dynamic Redline Data Gauge Module
Custom gauge module that provides a dynamic redline indicator that adjusts based on engine temperature, oil pressure, and rev limiter state. Shows the safe maximum RPM in real-time.
Environment Data Gauge Module
Custom gauge module that provides environmental data to instrument cluster displays — outside temperature, altitude, ambient conditions, and compass heading.