PX4 Firmware
PX4 Autopilot Software http://px4.io
estimator::gps_check_fail_status_u Union Reference

#include <common.h>

Collaboration diagram for estimator::gps_check_fail_status_u:

Public Attributes

struct {
   uint16_t   fix: 1
 0 - true if the fix type is insufficient (no 3D solution) More...
 
   uint16_t   nsats: 1
 1 - true if number of satellites used is insufficient More...
 
   uint16_t   pdop: 1
 2 - true if position dilution of precision is insufficient More...
 
   uint16_t   hacc: 1
 3 - true if reported horizontal accuracy is insufficient More...
 
   uint16_t   vacc: 1
 4 - true if reported vertical accuracy is insufficient More...
 
   uint16_t   sacc: 1
 5 - true if reported speed accuracy is insufficient More...
 
   uint16_t   hdrift: 1
 6 - true if horizontal drift is excessive (can only be used when stationary on ground) More...
 
   uint16_t   vdrift: 1
 7 - true if vertical drift is excessive (can only be used when stationary on ground) More...
 
   uint16_t   hspeed: 1
 8 - true if horizontal speed is excessive (can only be used when stationary on ground) More...
 
   uint16_t   vspeed: 1
 9 - true if vertical speed error is excessive More...
 
flags
 
uint16_t value
 

Detailed Description

Definition at line 422 of file common.h.

Member Data Documentation

◆ fix

uint16_t estimator::gps_check_fail_status_u::fix

0 - true if the fix type is insufficient (no 3D solution)

Definition at line 424 of file common.h.

Referenced by Ekf::gps_is_good().

◆ flags

struct { ... } estimator::gps_check_fail_status_u::flags

Referenced by Ekf::gps_is_good().

◆ hacc

uint16_t estimator::gps_check_fail_status_u::hacc

3 - true if reported horizontal accuracy is insufficient

Definition at line 427 of file common.h.

Referenced by Ekf::gps_is_good().

◆ hdrift

uint16_t estimator::gps_check_fail_status_u::hdrift

6 - true if horizontal drift is excessive (can only be used when stationary on ground)

Definition at line 430 of file common.h.

Referenced by Ekf::gps_is_good().

◆ hspeed

uint16_t estimator::gps_check_fail_status_u::hspeed

8 - true if horizontal speed is excessive (can only be used when stationary on ground)

Definition at line 432 of file common.h.

Referenced by Ekf::gps_is_good().

◆ nsats

uint16_t estimator::gps_check_fail_status_u::nsats

1 - true if number of satellites used is insufficient

Definition at line 425 of file common.h.

Referenced by Ekf::gps_is_good().

◆ pdop

uint16_t estimator::gps_check_fail_status_u::pdop

2 - true if position dilution of precision is insufficient

Definition at line 426 of file common.h.

Referenced by Ekf::gps_is_good().

◆ sacc

uint16_t estimator::gps_check_fail_status_u::sacc

5 - true if reported speed accuracy is insufficient

Definition at line 429 of file common.h.

Referenced by Ekf::gps_is_good().

◆ vacc

uint16_t estimator::gps_check_fail_status_u::vacc

4 - true if reported vertical accuracy is insufficient

Definition at line 428 of file common.h.

Referenced by Ekf::gps_is_good().

◆ value

uint16_t estimator::gps_check_fail_status_u::value

Definition at line 435 of file common.h.

Referenced by Ekf::get_gps_check_status(), and Ekf::resetVelocity().

◆ vdrift

uint16_t estimator::gps_check_fail_status_u::vdrift

7 - true if vertical drift is excessive (can only be used when stationary on ground)

Definition at line 431 of file common.h.

Referenced by Ekf::gps_is_good().

◆ vspeed

uint16_t estimator::gps_check_fail_status_u::vspeed

9 - true if vertical speed error is excessive

Definition at line 433 of file common.h.

Referenced by Ekf::gps_is_good().


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