PX4 Firmware
PX4 Autopilot Software http://px4.io
gps_mtk_packet_t Struct Reference

the structures of the binary packets More...

#include <mtk.h>

Collaboration diagram for gps_mtk_packet_t:

Public Attributes

uint8_t payload
 Number of payload bytes. More...
 
int32_t latitude
 Latitude in degrees * 10^7. More...
 
int32_t longitude
 Longitude in degrees * 10^7. More...
 
uint32_t msl_altitude
 MSL altitude in meters * 10^2. More...
 
uint32_t ground_speed
 velocity in m/s More...
 
int32_t heading
 heading in degrees * 10^2 More...
 
uint8_t satellites
 number of satellites used More...
 
uint8_t fix_type
 fix type: XXX correct for that More...
 
uint32_t date
 
uint32_t utc_time
 
uint16_t hdop
 horizontal dilution of position (without unit) More...
 
uint8_t ck_a
 
uint8_t ck_b
 

Detailed Description

the structures of the binary packets

Definition at line 68 of file mtk.h.

Member Data Documentation

◆ ck_a

uint8_t gps_mtk_packet_t::ck_a

Definition at line 80 of file mtk.h.

Referenced by GPSDriverMTK::parseChar().

◆ ck_b

uint8_t gps_mtk_packet_t::ck_b

Definition at line 81 of file mtk.h.

Referenced by GPSDriverMTK::parseChar().

◆ date

uint32_t gps_mtk_packet_t::date

Definition at line 77 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ fix_type

uint8_t gps_mtk_packet_t::fix_type

fix type: XXX correct for that

Definition at line 76 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ ground_speed

uint32_t gps_mtk_packet_t::ground_speed

velocity in m/s

Definition at line 73 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ hdop

uint16_t gps_mtk_packet_t::hdop

horizontal dilution of position (without unit)

Definition at line 79 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ heading

int32_t gps_mtk_packet_t::heading

heading in degrees * 10^2

Definition at line 74 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ latitude

int32_t gps_mtk_packet_t::latitude

Latitude in degrees * 10^7.

Definition at line 70 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ longitude

int32_t gps_mtk_packet_t::longitude

Longitude in degrees * 10^7.

Definition at line 71 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ msl_altitude

uint32_t gps_mtk_packet_t::msl_altitude

MSL altitude in meters * 10^2.

Definition at line 72 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ payload

uint8_t gps_mtk_packet_t::payload

Number of payload bytes.

Definition at line 69 of file mtk.h.

◆ satellites

uint8_t gps_mtk_packet_t::satellites

number of satellites used

Definition at line 75 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().

◆ utc_time

uint32_t gps_mtk_packet_t::utc_time

Definition at line 78 of file mtk.h.

Referenced by GPSDriverMTK::handleMessage().


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