Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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: rad*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 heading in rad*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_fix_ticks
 cpu time in ticks at last valid fix More...
 
uint32_t last_fix_time
 cpu time in sec at last valid fix More...
 
uint16_t reset
 hotstart, warmstart, coldstart More...
 

Detailed Description

data structure for GPS information

Definition at line 62 of file gps.h.

Field Documentation

uint32_t GpsState::cacc

course accuracy in rad*1e7

Definition at line 74 of file gps.h.

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

struct EcefCoor_i GpsState::ecef_pos
struct EcefCoor_i GpsState::ecef_vel
uint32_t GpsState::last_fix_ticks

cpu time in ticks at last valid fix

Definition at line 84 of file gps.h.

uint32_t GpsState::last_fix_time

cpu time in sec at last valid fix

Definition at line 85 of file gps.h.

Referenced by gps_mtk_read_message(), and parse_ins_msg().

uint8_t GpsState::nb_channels

Number of scanned satellites.

Definition at line 81 of file gps.h.

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

uint32_t GpsState::pacc

position accuracy in cm

Definition at line 72 of file gps.h.

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

uint16_t GpsState::pdop

position dilution of precision scaled by 100

Definition at line 75 of file gps.h.

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

uint16_t GpsState::reset

hotstart, warmstart, coldstart

Definition at line 86 of file gps.h.

uint32_t GpsState::sacc

speed accuracy in cm/s

Definition at line 73 of file gps.h.

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

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

holds information from the Space Vehicles (Satellites)

Definition at line 82 of file gps.h.

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

int16_t GpsState::week

GPS week.

Definition at line 78 of file gps.h.

Referenced by gps_mtk_read_message(), gps_ubx_read_message(), parse_ins_msg(), and sim_use_gps_pos().


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