Telemetry
The Telemetry Store is responsible for managing the states of vehicle telemetry data, as well as their coordinates and map markers.
Types and Interfaces
Section titled “Types and Interfaces”export interface TelemetryStore { // Backend State state: VehicleTelemetryData; syncRustState: (state: VehicleTelemetryData) => void;
// Methods updateVehicleMarkers: (state: VehicleTelemetryData) => void; updateVehicleCoords: (vehicle: VehicleEnum, coords: LatLngExpression) => void; // simulateMovement: () => void;
// Telemetry Data getTelemetry: () => VehicleTelemetryData;}