Skip to main content

ResQ.Clients.TelemetryPacket

TelemetryPacket(string, double, double, double, double, string, long) Constructor

A single telemetry packet from a drone.
public TelemetryPacket(string DroneId, double Latitude, double Longitude, double Altitude, double Battery, string FlightMode, long Timestamp);

Parameters

DroneId System.String Unique identifier of the drone (required by HCE per-packet schema). Latitude System.Double Latitude in decimal degrees. Longitude System.Double Longitude in decimal degrees. Altitude System.Double Altitude in meters above sea level. Battery System.Double Battery percentage (0-100). FlightMode System.String Current flight mode (e.g., “IDLE”, “ARMED”, “AUTO”). Timestamp System.Int64 Unix timestamp in seconds.