Advanced IMU Sensor
BeamNG.tech inertial measurement unit providing high-frequency acceleration, angular velocity, and orientation data. Simulates a 6-DOF IMU with configurable noise, bias, and update rates for realistic sensor modeling.
BeamNG.tech inertial measurement unit providing high-frequency acceleration, angular velocity, and orientation data. Simulates a 6-DOF IMU with configurable noise, bias, and update rates for realistic sensor modeling.
Public API
| Function | Description |
|---|---|
getSensorData() | Returns all buffered raw readings since the last poll, along with current timing state. |
getLatest() | Returns the single most recent IMU snapshot (acceleration, angular velocity, orientation). |
setIsUsingGravity(value) | Configures the sensor's gravity compensation logic. |
setIsVisualised(value) | Toggles debug visualization. |
incrementTimer(dtSim) | Internal timer update used to synchronize polling intervals. |
Hooks
| Hook | Description |
|---|---|
init(data) | Initializes the IMU sensor instance. |
reset() | Clears all buffered readings and resets polling timers. |
update(dtSim) | Physics step handler. Calculates precise acceleration and rotation based on the motion of the sensor's triangle attachment nodes. |
See Also
- GPS Sensor — GPS positioning
- Powertrain Sensor — Powertrain telemetry
Reverse Warning Sound Controller
Controls the audible reverse warning beeper that activates when the vehicle is in reverse gear. Manages beep timing, volume, and activation conditions.
Co-Simulation Coupling
Interface for connecting BeamNG.tech to external simulation environments. Enables synchronized data exchange with tools like MATLAB/Simulink, CarMaker, or custom co-simulation frameworks via shared memory or network protocols.