API Referenceveextensionstech
Ideal RADAR Sensor
Simulated ideal radar sensor that detects other vehicles within a configurable cone. Returns distance, relative velocity, and bearing to detected objects.
Simulated ideal radar sensor that detects other vehicles within a configurable cone. Returns distance, relative velocity, and bearing to detected objects without noise or occlusion (ideal conditions). Used for ADAS development and ACC.
Public API
| Function | Signature | Description |
|---|---|---|
create | (data) | Creates a new radar sensor instance with specified range, cone angle, and update rate. |
Usage Example
-- Create a forward-facing radar with 200m range
extensions.tech_idealRADARSensor.create({
range = 200,
halfAngle = 10, -- degrees
updateTime = 0.05,
})See Also
- ACC — Adaptive Cruise Control (consumes radar data)
- ADAS Ultrasonic — Short-range ultrasonic sensors
- TechCore — External API that polls radar data
GPS Sensor
Simulated GPS receiver that provides position, velocity, and heading data. Outputs coordinates in configurable reference frames for navigation and research applications.
Mesh Sensor
Provides access to the vehicle's deformable mesh data including node positions, velocities, and beam states. Used for crash analysis and structural monitoring.