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

#include <common.h>

Collaboration diagram for estimator::ekf_solution_status:

Public Attributes

struct {
   uint16_t   attitude: 1
 0 - True if the attitude estimate is good More...
 
   uint16_t   velocity_horiz: 1
 1 - True if the horizontal velocity estimate is good More...
 
   uint16_t   velocity_vert: 1
 2 - True if the vertical velocity estimate is good More...
 
   uint16_t   pos_horiz_rel: 1
 3 - True if the horizontal position (relative) estimate is good More...
 
   uint16_t   pos_horiz_abs: 1
 4 - True if the horizontal position (absolute) estimate is good More...
 
   uint16_t   pos_vert_abs: 1
 5 - True if the vertical position (absolute) estimate is good More...
 
   uint16_t   pos_vert_agl: 1
 6 - True if the vertical position (above ground) estimate is good More...
 
   uint16_t   const_pos_mode: 1
 7 - True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) More...
 
   uint16_t   pred_pos_horiz_rel: 1
 8 - True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate More...
 
   uint16_t   pred_pos_horiz_abs: 1
 9 - True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate More...
 
   uint16_t   gps_glitch: 1
 10 - True if the EKF has detected a GPS glitch More...
 
   uint16_t   accel_error: 1
 11 - True if the EKF has detected bad accelerometer data More...
 
flags
 
uint16_t value
 

Detailed Description

Definition at line 471 of file common.h.

Member Data Documentation

◆ accel_error

uint16_t estimator::ekf_solution_status::accel_error

11 - True if the EKF has detected bad accelerometer data

Definition at line 484 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ attitude

uint16_t estimator::ekf_solution_status::attitude

0 - True if the attitude estimate is good

Definition at line 473 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ const_pos_mode

uint16_t estimator::ekf_solution_status::const_pos_mode

7 - True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow)

Definition at line 480 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ flags

struct { ... } estimator::ekf_solution_status::flags

◆ gps_glitch

uint16_t estimator::ekf_solution_status::gps_glitch

10 - True if the EKF has detected a GPS glitch

Definition at line 483 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pos_horiz_abs

uint16_t estimator::ekf_solution_status::pos_horiz_abs

4 - True if the horizontal position (absolute) estimate is good

Definition at line 477 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pos_horiz_rel

uint16_t estimator::ekf_solution_status::pos_horiz_rel

3 - True if the horizontal position (relative) estimate is good

Definition at line 476 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pos_vert_abs

uint16_t estimator::ekf_solution_status::pos_vert_abs

5 - True if the vertical position (absolute) estimate is good

Definition at line 478 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pos_vert_agl

uint16_t estimator::ekf_solution_status::pos_vert_agl

6 - True if the vertical position (above ground) estimate is good

Definition at line 479 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pred_pos_horiz_abs

uint16_t estimator::ekf_solution_status::pred_pos_horiz_abs

9 - True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate

Definition at line 482 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ pred_pos_horiz_rel

uint16_t estimator::ekf_solution_status::pred_pos_horiz_rel

8 - True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate

Definition at line 481 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ value

uint16_t estimator::ekf_solution_status::value

Definition at line 486 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ velocity_horiz

uint16_t estimator::ekf_solution_status::velocity_horiz

1 - True if the horizontal velocity estimate is good

Definition at line 474 of file common.h.

Referenced by Ekf::get_ekf_soln_status().

◆ velocity_vert

uint16_t estimator::ekf_solution_status::velocity_vert

2 - True if the vertical velocity estimate is good

Definition at line 475 of file common.h.

Referenced by Ekf::get_ekf_soln_status().


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