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

#include <common.h>

Collaboration diagram for estimator::fault_status_u:

Public Attributes

struct {
   bool   bad_mag_x: 1
 0 - true if the fusion of the magnetometer X-axis has encountered a numerical error More...
 
   bool   bad_mag_y: 1
 1 - true if the fusion of the magnetometer Y-axis has encountered a numerical error More...
 
   bool   bad_mag_z: 1
 2 - true if the fusion of the magnetometer Z-axis has encountered a numerical error More...
 
   bool   bad_hdg: 1
 3 - true if the fusion of the heading angle has encountered a numerical error More...
 
   bool   bad_mag_decl: 1
 4 - true if the fusion of the magnetic declination has encountered a numerical error More...
 
   bool   bad_airspeed: 1
 5 - true if fusion of the airspeed has encountered a numerical error More...
 
   bool   bad_sideslip: 1
 6 - true if fusion of the synthetic sideslip constraint has encountered a numerical error More...
 
   bool   bad_optflow_X: 1
 7 - true if fusion of the optical flow X axis has encountered a numerical error More...
 
   bool   bad_optflow_Y: 1
 8 - true if fusion of the optical flow Y axis has encountered a numerical error More...
 
   bool   bad_vel_N: 1
 9 - true if fusion of the North velocity has encountered a numerical error More...
 
   bool   bad_vel_E: 1
 10 - true if fusion of the East velocity has encountered a numerical error More...
 
   bool   bad_vel_D: 1
 11 - true if fusion of the Down velocity has encountered a numerical error More...
 
   bool   bad_pos_N: 1
 12 - true if fusion of the North position has encountered a numerical error More...
 
   bool   bad_pos_E: 1
 13 - true if fusion of the East position has encountered a numerical error More...
 
   bool   bad_pos_D: 1
 14 - true if fusion of the Down position has encountered a numerical error More...
 
   bool   bad_acc_bias: 1
 15 - true if bad delta velocity bias estimates have been detected More...
 
flags
 
uint16_t value
 

Detailed Description

Definition at line 378 of file common.h.

Member Data Documentation

◆ bad_acc_bias

bool estimator::fault_status_u::bad_acc_bias

15 - true if bad delta velocity bias estimates have been detected

Definition at line 395 of file common.h.

Referenced by Ekf::fixCovarianceErrors().

◆ bad_airspeed

bool estimator::fault_status_u::bad_airspeed

5 - true if fusion of the airspeed has encountered a numerical error

Definition at line 385 of file common.h.

Referenced by Ekf::fuseAirspeed().

◆ bad_hdg

bool estimator::fault_status_u::bad_hdg

3 - true if the fusion of the heading angle has encountered a numerical error

Definition at line 383 of file common.h.

Referenced by Ekf::fuseGpsAntYaw(), and Ekf::fuseHeading().

◆ bad_mag_decl

bool estimator::fault_status_u::bad_mag_decl

4 - true if the fusion of the magnetic declination has encountered a numerical error

Definition at line 384 of file common.h.

Referenced by Ekf::fuseDeclination().

◆ bad_mag_x

bool estimator::fault_status_u::bad_mag_x

0 - true if the fusion of the magnetometer X-axis has encountered a numerical error

Definition at line 380 of file common.h.

Referenced by Ekf::fuseMag().

◆ bad_mag_y

bool estimator::fault_status_u::bad_mag_y

1 - true if the fusion of the magnetometer Y-axis has encountered a numerical error

Definition at line 381 of file common.h.

Referenced by Ekf::fuseMag().

◆ bad_mag_z

bool estimator::fault_status_u::bad_mag_z

2 - true if the fusion of the magnetometer Z-axis has encountered a numerical error

Definition at line 382 of file common.h.

Referenced by Ekf::fuseMag().

◆ bad_optflow_X

bool estimator::fault_status_u::bad_optflow_X

7 - true if fusion of the optical flow X axis has encountered a numerical error

Definition at line 387 of file common.h.

Referenced by Ekf::fuseOptFlow().

◆ bad_optflow_Y

bool estimator::fault_status_u::bad_optflow_Y

8 - true if fusion of the optical flow Y axis has encountered a numerical error

Definition at line 388 of file common.h.

Referenced by Ekf::fuseOptFlow().

◆ bad_pos_D

bool estimator::fault_status_u::bad_pos_D

14 - true if fusion of the Down position has encountered a numerical error

Definition at line 394 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ bad_pos_E

bool estimator::fault_status_u::bad_pos_E

13 - true if fusion of the East position has encountered a numerical error

Definition at line 393 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ bad_pos_N

bool estimator::fault_status_u::bad_pos_N

12 - true if fusion of the North position has encountered a numerical error

Definition at line 392 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ bad_sideslip

bool estimator::fault_status_u::bad_sideslip

6 - true if fusion of the synthetic sideslip constraint has encountered a numerical error

Definition at line 386 of file common.h.

Referenced by Ekf::fuseSideslip().

◆ bad_vel_D

bool estimator::fault_status_u::bad_vel_D

11 - true if fusion of the Down velocity has encountered a numerical error

Definition at line 391 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ bad_vel_E

bool estimator::fault_status_u::bad_vel_E

10 - true if fusion of the East velocity has encountered a numerical error

Definition at line 390 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ bad_vel_N

bool estimator::fault_status_u::bad_vel_N

9 - true if fusion of the North velocity has encountered a numerical error

Definition at line 389 of file common.h.

Referenced by Ekf::fuseVelPosHeight().

◆ flags

◆ value

uint16_t estimator::fault_status_u::value

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