mavsdk::TelemetryServer::RawGps Struct Reference
#include: telemetry_server.h
Raw GPS information type.
Warning: this is an advanced type! If you want the location of the drone, use the position instead. This message exposes the raw values of the GNSS sensor.
Data Fields
uint64_t timestamp_us {} - Timestamp in microseconds (UNIX Epoch time or time since system boot, to be inferred)
double latitude_deg {} - Latitude in degrees (WGS84, EGM96 ellipsoid)
double longitude_deg {} - Longitude in degrees (WGS84, EGM96 ellipsoid)
float absolute_altitude_m {} - Altitude AMSL (above mean sea level) in metres.
float hdop {} - GPS HDOP horizontal dilution of position (unitless). If unknown, set to NaN.
float vdop {} - GPS VDOP vertical dilution of position (unitless). If unknown, set to NaN.
float velocity_m_s {} - Ground velocity in metres per second.
float cog_deg {} - Course over ground (NOT heading, but direction of movement) in degrees. If unknown, set to NaN.
float altitude_ellipsoid_m {} - Altitude in metres (above WGS84, EGM96 ellipsoid)
float horizontal_uncertainty_m {} - Position uncertainty in metres.
float vertical_uncertainty_m {} - Altitude uncertainty in metres.
float velocity_uncertainty_m_s {} - Velocity uncertainty in metres per second.
float heading_uncertainty_deg {} - Heading uncertainty in degrees.
float yaw_deg {} - Yaw in earth frame from north.
Field Documentation
timestamp_us
uint64_t mavsdk::TelemetryServer::RawGps::timestamp_us {}
Timestamp in microseconds (UNIX Epoch time or time since system boot, to be inferred)
latitude_deg
double mavsdk::TelemetryServer::RawGps::latitude_deg {}
Latitude in degrees (WGS84, EGM96 ellipsoid)
longitude_deg
double mavsdk::TelemetryServer::RawGps::longitude_deg {}
Longitude in degrees (WGS84, EGM96 ellipsoid)
absolute_altitude_m
float mavsdk::TelemetryServer::RawGps::absolute_altitude_m {}
Altitude AMSL (above mean sea level) in metres.
hdop
float mavsdk::TelemetryServer::RawGps::hdop {}
GPS HDOP horizontal dilution of position (unitless). If unknown, set to NaN.
vdop
float mavsdk::TelemetryServer::RawGps::vdop {}
GPS VDOP vertical dilution of position (unitless). If unknown, set to NaN.
velocity_m_s
float mavsdk::TelemetryServer::RawGps::velocity_m_s {}
Ground velocity in metres per second.
cog_deg
float mavsdk::TelemetryServer::RawGps::cog_deg {}
Course over ground (NOT heading, but direction of movement) in degrees. If unknown, set to NaN.
altitude_ellipsoid_m
float mavsdk::TelemetryServer::RawGps::altitude_ellipsoid_m {}
Altitude in metres (above WGS84, EGM96 ellipsoid)
horizontal_uncertainty_m
float mavsdk::TelemetryServer::RawGps::horizontal_uncertainty_m {}
Position uncertainty in metres.
vertical_uncertainty_m
float mavsdk::TelemetryServer::RawGps::vertical_uncertainty_m {}
Altitude uncertainty in metres.
velocity_uncertainty_m_s
float mavsdk::TelemetryServer::RawGps::velocity_uncertainty_m_s {}
Velocity uncertainty in metres per second.
heading_uncertainty_deg
float mavsdk::TelemetryServer::RawGps::heading_uncertainty_deg {}
Heading uncertainty in degrees.
yaw_deg
float mavsdk::TelemetryServer::RawGps::yaw_deg {}
Yaw in earth frame from north.