mavsdk::Telemetry::RawGps Struct Reference

#include: telemetry.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::Telemetry::RawGps::timestamp_us {}

Timestamp in microseconds (UNIX Epoch time or time since system boot, to be inferred)

latitude_deg

double mavsdk::Telemetry::RawGps::latitude_deg {}

Latitude in degrees (WGS84, EGM96 ellipsoid)

longitude_deg

double mavsdk::Telemetry::RawGps::longitude_deg {}

Longitude in degrees (WGS84, EGM96 ellipsoid)

absolute_altitude_m

float mavsdk::Telemetry::RawGps::absolute_altitude_m {}

Altitude AMSL (above mean sea level) in metres.

hdop

float mavsdk::Telemetry::RawGps::hdop {}

GPS HDOP horizontal dilution of position (unitless). If unknown, set to NaN.

vdop

float mavsdk::Telemetry::RawGps::vdop {}

GPS VDOP vertical dilution of position (unitless). If unknown, set to NaN.

velocity_m_s

float mavsdk::Telemetry::RawGps::velocity_m_s {}

Ground velocity in metres per second.

cog_deg

float mavsdk::Telemetry::RawGps::cog_deg {}

Course over ground (NOT heading, but direction of movement) in degrees. If unknown, set to NaN.

altitude_ellipsoid_m

float mavsdk::Telemetry::RawGps::altitude_ellipsoid_m {}

Altitude in metres (above WGS84, EGM96 ellipsoid)

horizontal_uncertainty_m

float mavsdk::Telemetry::RawGps::horizontal_uncertainty_m {}

Position uncertainty in metres.

vertical_uncertainty_m

float mavsdk::Telemetry::RawGps::vertical_uncertainty_m {}

Altitude uncertainty in metres.

velocity_uncertainty_m_s

float mavsdk::Telemetry::RawGps::velocity_uncertainty_m_s {}

Velocity uncertainty in metres per second.

heading_uncertainty_deg

float mavsdk::Telemetry::RawGps::heading_uncertainty_deg {}

Heading uncertainty in degrees.

yaw_deg

float mavsdk::Telemetry::RawGps::yaw_deg {}

Yaw in earth frame from north.

© MAVSDK Development Team 2017-2023. License: CC BY 4.0            Updated: 2023-12-27 03:10:20

results matching ""

    No results matching ""