Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
GpsState Struct Reference

data structure for GPS information More...

#include <gps.h>

+ Collaboration diagram for GpsState:

Data Fields

struct EcefCoor_i ecef_pos
 position in ECEF in cm More...
 
struct LlaCoor_i lla_pos
 position in LLA (lat,lon: deg*1e7; alt: mm over ellipsoid) More...
 
struct UtmCoor_i utm_pos
 position in UTM (north,east: cm; alt: mm over ellipsoid) More...
 
int32_t hmsl
 height above mean sea level in mm More...
 
struct EcefCoor_i ecef_vel
 speed ECEF in cm/s More...
 
struct NedCoor_i ned_vel
 speed NED in cm/s More...
 
int16_t gspeed
 norm of 2d ground speed in cm/s More...
 
int16_t speed_3d
 norm of 3d speed in cm/s More...
 
int32_t course
 GPS course over ground in rad*1e7, [0, 2*Pi]*1e7 (CW/north) More...
 
uint32_t pacc
 position accuracy in cm More...
 
uint32_t sacc
 speed accuracy in cm/s More...
 
uint32_t cacc
 course accuracy in rad*1e7 More...
 
uint16_t pdop
 position dilution of precision scaled by 100 More...
 
uint8_t num_sv
 number of sat in fix More...
 
uint8_t fix
 status of fix More...
 
int16_t week
 GPS week. More...
 
uint32_t tow
 GPS time of week in ms. More...
 
uint8_t nb_channels
 Number of scanned satellites. More...
 
struct SVinfo svinfos [GPS_NB_CHANNELS]
 holds information from the Space Vehicles (Satellites) More...
 
uint32_t last_3dfix_ticks
 cpu time ticks at last valid 3D fix More...
 
uint32_t last_3dfix_time
 cpu time in sec at last valid 3D fix More...
 
uint32_t last_msg_ticks
 cpu time ticks at last received GPS message More...
 
uint32_t last_msg_time
 cpu time in sec at last received GPS message More...
 
uint16_t reset
 hotstart, warmstart, coldstart More...
 

Detailed Description

data structure for GPS information

Definition at line 63 of file gps.h.

Field Documentation

uint32_t GpsState::cacc

course accuracy in rad*1e7

Definition at line 75 of file gps.h.

Referenced by ahrs_update_gps(), gps_impl_init(), gps_init(), gps_ubx_read_message(), and sirf_parse_41().

struct EcefCoor_i GpsState::ecef_vel
uint32_t GpsState::last_3dfix_ticks

cpu time ticks at last valid 3D fix

Definition at line 85 of file gps.h.

Referenced by gps_init(), and parse_ins_msg().

uint32_t GpsState::last_3dfix_time

cpu time in sec at last valid 3D fix

Definition at line 86 of file gps.h.

Referenced by gps_init(), gps_mtk_read_message(), parse_ins_msg(), and sirf_parse_2().

uint32_t GpsState::last_msg_ticks

cpu time ticks at last received GPS message

Definition at line 87 of file gps.h.

Referenced by gps_init().

uint32_t GpsState::last_msg_time

cpu time in sec at last received GPS message

Definition at line 88 of file gps.h.

Referenced by gps_init(), and gps_periodic_check().

uint8_t GpsState::nb_channels

Number of scanned satellites.

Definition at line 82 of file gps.h.

Referenced by gps_ardrone2_parse(), gps_ubx_read_message(), parse_ins_msg(), sim_update_sv(), sim_use_gps_pos(), and sirf_parse_41().

uint32_t GpsState::pacc

position accuracy in cm

Definition at line 73 of file gps.h.

Referenced by b2_hff_update_gps(), gps_ubx_read_message(), parse_ins_msg(), sim_update_sv(), sim_use_gps_pos(), and sirf_parse_41().

uint16_t GpsState::pdop

position dilution of precision scaled by 100

Definition at line 76 of file gps.h.

Referenced by gps_skytraq_read_message(), gps_ubx_read_message(), parse_ins_msg(), parse_nmea_GPGGA(), sim_update_sv(), sim_use_gps_pos(), and sirf_parse_41().

uint16_t GpsState::reset

hotstart, warmstart, coldstart

Definition at line 89 of file gps.h.

uint32_t GpsState::sacc

speed accuracy in cm/s

Definition at line 74 of file gps.h.

Referenced by b2_hff_update_gps(), gps_ubx_read_message(), parse_ins_msg(), sim_update_sv(), sim_use_gps_pos(), and sirf_parse_41().

int16_t GpsState::speed_3d
struct SVinfo GpsState::svinfos[GPS_NB_CHANNELS]

holds information from the Space Vehicles (Satellites)

Definition at line 83 of file gps.h.

Referenced by gps_ardrone2_parse(), gps_ubx_read_message(), parse_ins_msg(), sim_update_sv(), and sim_use_gps_pos().


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