API Referenceveextensionstech
GPS Sensor
Simulated GPS receiver that provides position, velocity, and heading data. Outputs coordinates in configurable reference frames for navigation and research applications.
Simulated GPS receiver that provides position, velocity, and heading data. Outputs coordinates in configurable reference frames for navigation and research applications. Can be polled via the TechCore API.
Public API
| Function | Signature | Description |
|---|---|---|
create | (data) | Creates a new GPS sensor instance with the given configuration (update rate, reference frame, noise model). |
Usage Example
-- Create a GPS sensor
extensions.tech_GPS.create({
updateTime = 0.1, -- 10 Hz update rate
})See Also
- Advanced IMU — Inertial measurement sensor
- TechCore — External API that polls GPS data
- Roads Sensor — Road network sensor
Dump Player Input
Debug extension that logs all player input values (throttle, brake, steering, clutch) each frame. Useful for input calibration and replay analysis.
Ideal RADAR Sensor
Simulated ideal radar sensor that detects other vehicles within a configurable cone. Returns distance, relative velocity, and bearing to detected objects.