API Referenceveextensionstech
Advanced IMU
Simulated Inertial Measurement Unit providing acceleration, angular velocity, and orientation data. Supports multiple simultaneous IMU instances at configurable positions.
Simulated Inertial Measurement Unit (IMU) providing acceleration, angular velocity, and orientation data. Supports multiple simultaneous IMU instances at configurable vehicle positions with adjustable update rates and noise models.
Public API
| Function | Signature | Description |
|---|---|---|
create | (data) | Creates a new IMU sensor instance at the specified position with given configuration (update rate, noise). |
Usage Example
-- Create an IMU at the vehicle's center of gravity
extensions.tech_advancedIMU.create({
pos = {0, 0, 0.5},
updateTime = 0.01, -- 100 Hz
})See Also
- GPS — Position/velocity sensor
- TechCore — External API that polls IMU data
- ESC Measurement — Driving dynamics analysis
ADAS Ultrasonic
Simulated ultrasonic sensor array for parking assistance and blind spot detection. Provides distance measurements from multiple sensor positions around the vehicle.
Dump Player Input
Debug extension that logs all player input values (throttle, brake, steering, clutch) each frame. Useful for input calibration and replay analysis.