NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
__mavlink_hil_gps_t Struct Reference

#include <mavlink_msg_hil_gps.h>

Data Fields

uint64_t time_usec
 Timestamp (microseconds since UNIX epoch or microseconds since system boot) More...
 
int32_t lat
 Latitude (WGS84), in degrees * 1E7. More...
 
int32_t lon
 Longitude (WGS84), in degrees * 1E7. More...
 
int32_t alt
 Altitude (AMSL, not WGS84), in meters * 1000 (positive for up) More...
 
uint16_t eph
 GPS HDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535. More...
 
uint16_t epv
 GPS VDOP vertical dilution of position in cm (m*100). If unknown, set to: 65535. More...
 
uint16_t vel
 GPS ground speed (m/s * 100). If unknown, set to: 65535. More...
 
int16_t vn
 GPS velocity in cm/s in NORTH direction in earth-fixed NED frame. More...
 
int16_t ve
 GPS velocity in cm/s in EAST direction in earth-fixed NED frame. More...
 
int16_t vd
 GPS velocity in cm/s in DOWN direction in earth-fixed NED frame. More...
 
uint16_t cog
 Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: 65535. More...
 
uint8_t fix_type
 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. More...
 
uint8_t satellites_visible
 Number of satellites visible. If unknown, set to 255. More...
 

Field Documentation

int32_t __mavlink_hil_gps_t::alt

Altitude (AMSL, not WGS84), in meters * 1000 (positive for up)

uint16_t __mavlink_hil_gps_t::cog

Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: 65535.

uint16_t __mavlink_hil_gps_t::eph

GPS HDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535.

uint16_t __mavlink_hil_gps_t::epv

GPS VDOP vertical dilution of position in cm (m*100). If unknown, set to: 65535.

uint8_t __mavlink_hil_gps_t::fix_type

0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.

int32_t __mavlink_hil_gps_t::lat

Latitude (WGS84), in degrees * 1E7.

int32_t __mavlink_hil_gps_t::lon

Longitude (WGS84), in degrees * 1E7.

uint8_t __mavlink_hil_gps_t::satellites_visible

Number of satellites visible. If unknown, set to 255.

uint64_t __mavlink_hil_gps_t::time_usec

Timestamp (microseconds since UNIX epoch or microseconds since system boot)

int16_t __mavlink_hil_gps_t::vd

GPS velocity in cm/s in DOWN direction in earth-fixed NED frame.

int16_t __mavlink_hil_gps_t::ve

GPS velocity in cm/s in EAST direction in earth-fixed NED frame.

uint16_t __mavlink_hil_gps_t::vel

GPS ground speed (m/s * 100). If unknown, set to: 65535.

int16_t __mavlink_hil_gps_t::vn

GPS velocity in cm/s in NORTH direction in earth-fixed NED frame.


The documentation for this struct was generated from the following file: