Powertrain Sensor
BeamNG.tech sensor that exposes detailed powertrain state data — engine RPM, torques, temperatures, gear ratios, and clutch states. Designed for external tools that need high-fidelity drivetrain telemetry.
BeamNG.tech sensor that exposes detailed powertrain state data — engine RPM, torques, temperatures, gear ratios, and clutch states. Designed for external tools that need high-fidelity drivetrain telemetry.
State Fields
| Field | Type | Description |
|---|---|---|
type | string | Module type ('auxiliary'). |
Public API
| Function | Description |
|---|---|
getSensorData() | returns the accumulated readings and current polling timer status. |
incrementTimer(dtSim) | Advances the internal timer used to track the GFX polling window. |
Hooks
| Hook | Description |
|---|---|
init(data) | Initializes the sensor instance and prepares data buffers for physics-step collection. |
update(dtSim) | High-frequency physics loop. Scans every powertrain device for AV, torque, ratio, and breakage status, time-stamping each sample. |
module.reset() | Resets the controller to its initial state. |
See Also
- Advanced IMU — Motion data
- Vehicle Systems Coupling — External systems bridge
MQTT Output Controller
Publishes vehicle telemetry data to an MQTT broker for external consumption. Enables real-time data streaming to external applications, dashboards, or co-simulation systems via the MQTT protocol.
Data Recorders
Built-in data recording system that captures vehicle state at configurable intervals. Records timestamped telemetry (position, speed, inputs, powertrain state) to files for post-processing analysis.