Ideal RADAR Sensor
BeamNG.tech idealized RADAR sensor that detects nearby vehicles and obstacles. Provides perfect (noise-free) range, bearing, and velocity data for ADAS algorithm development and testing.
BeamNG.tech idealized RADAR sensor that detects nearby vehicles and obstacles. Provides perfect (noise-free) range, bearing, and velocity data for ADAS algorithm development and testing.
Public API
| Function | Description |
|---|---|
getSensorData() | returns the accumulated radar detections. |
getLatest() | returns the most recent radar snapshot, including details for the 4 closest vehicles. |
incrementTimer(dtSim) | Advances the polling timer. |
Hooks
| Hook | Description |
|---|---|
init(data) | Initializes the radar sensor. |
update(dtSim) | primary physics loop. Identifies vehicles within range, computes relative distances, velocities, and accelerations, and sorts the results by proximity. |
module.reset() | Resets the controller to its initial state. |
See Also
- GPS Sensor — Position sensing
- Roads Sensor — Road detection
GPS Sensor
BeamNG.tech sensor providing high-frequency GPS positioning data. Converts the vehicle's simulation-space position to spherical coordinates (longitude/latitude) relative to a configurable map origin. Buffers readings for external co-simulation consumers.
Mesh Sensor
BeamNG.tech sensor that exports the vehicle's deformable mesh node positions. Provides real-time access to the soft-body simulation mesh for crash analysis, deformation studies, or external visualization.