API ReferencevecontrollergaugescustomModules
Environment Data Gauge Module
Custom gauge module that provides environmental data to instrument cluster displays — outside temperature, altitude, ambient conditions, and compass heading.
Custom gauge module that provides environmental data to instrument cluster displays — outside temperature, altitude, ambient conditions, and compass heading.
Public API
| Function | Description |
|---|---|
updateGaugeData(moduleData, dt) | populates moduleData with current ambient temperature (Celsius), atmospheric pressure, and vehicle altitude. |
module.setupGaugeData(properties) | Sets the up gauge data. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Initialization hook. |
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
- Navigation Data — Navigation display module
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.
Navigation Data Gauge Module
Custom gauge module that provides navigation and route guidance data to instrument cluster displays — turn-by-turn directions, distance to destination, and estimated arrival time.