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.
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.
Public API
| Function | Description |
|---|---|
startRecording(quantities, steps) | Begins a new data collection session. |
stopRecording() | Ends the recording session and returns all collected data. |
fetchRecordedData() | Returns all data collected since the last fetch and clears the internal buffer. |
isRecording() | Returns true if a recording session is currently active. |
Hooks
| Hook | Description |
|---|---|
init() | Initializes the node information cache for recording. |
update(dt) | primary recording loop. Periodically executes quantity functions (e.g., mass properties, node info) and stores the results in the records table. |
See Also
- Logger Template — Custom logger template
- Powertrain Sensor — Powertrain telemetry
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.
Roads Sensor
BeamNG.tech sensor that detects road surface properties under the vehicle — surface type, friction coefficient, road width, and curvature. Useful for ADAS development and autonomous driving research.