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

#include <common.h>

Collaboration diagram for estimator::gps_message:

Public Attributes

uint64_t time_usec
 
int32_t lat
 Latitude in 1E-7 degrees. More...
 
int32_t lon
 Longitude in 1E-7 degrees. More...
 
int32_t alt
 Altitude in 1E-3 meters (millimeters) above MSL. More...
 
float yaw
 yaw angle. NaN if not set (used for dual antenna GPS), (rad, [-PI, PI]) More...
 
float yaw_offset
 Heading/Yaw offset for dual antenna GPS - refer to description for GPS_YAW_OFFSET. More...
 
uint8_t fix_type
 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: RTCM code differential, 5: Real-Time Kinematic More...
 
float eph
 GPS horizontal position accuracy in m. More...
 
float epv
 GPS vertical position accuracy in m. More...
 
float sacc
 GPS speed accuracy in m/s. More...
 
float vel_m_s
 GPS ground speed (m/sec) More...
 
float vel_ned [3]
 GPS ground speed NED. More...
 
bool vel_ned_valid
 GPS ground speed is valid. More...
 
uint8_t nsats
 number of satellites used More...
 
float pdop
 position dilution of precision More...
 

Detailed Description

Definition at line 57 of file common.h.

Member Data Documentation

◆ alt

◆ eph

◆ epv

◆ fix_type

uint8_t estimator::gps_message::fix_type

◆ lat

◆ lon

◆ nsats

◆ pdop

float estimator::gps_message::pdop

◆ sacc

◆ time_usec

◆ vel_m_s

float estimator::gps_message::vel_m_s

◆ vel_ned

◆ vel_ned_valid

◆ yaw

float estimator::gps_message::yaw

◆ yaw_offset

float estimator::gps_message::yaw_offset

Heading/Yaw offset for dual antenna GPS - refer to description for GPS_YAW_OFFSET.

Definition at line 63 of file common.h.

Referenced by Ekf2::apply_gps_offsets(), Ekf2::calc_gps_blend_output(), Ekf2::fillGpsMsgWithVehicleGpsPosData(), Ekf2::Run(), EstimatorInterface::setGpsData(), EkfInitializationTest::SetUp(), and Ekf2::update_gps_blend_states().


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