APM:Copter
Macros | Variables
ekf_check.cpp File Reference
#include "Copter.h"
Include dependency graph for ekf_check.cpp:

Go to the source code of this file.

Macros

#define EKF_CHECK_ITERATIONS_MAX   10
 
#define EKF_CHECK_WARNING_TIME   (30*1000)
 

Variables

struct {
   uint8_t   fail_count
 
   uint8_t   bad_variance: 1
 
   uint32_t   last_warn_time
 
ekf_check_state
 

Macro Definition Documentation

◆ EKF_CHECK_ITERATIONS_MAX

#define EKF_CHECK_ITERATIONS_MAX   10

Detects failures of the ekf or inertial nav system triggers an alert to the pilot and helps take countermeasures

Definition at line 11 of file ekf_check.cpp.

Referenced by Copter::ekf_check().

◆ EKF_CHECK_WARNING_TIME

#define EKF_CHECK_WARNING_TIME   (30*1000)

Definition at line 15 of file ekf_check.cpp.

Referenced by Copter::ekf_check().

Variable Documentation

◆ bad_variance

uint8_t bad_variance

Definition at line 23 of file ekf_check.cpp.

◆ ekf_check_state

struct { ... } ekf_check_state

Referenced by Copter::ekf_check().

◆ fail_count

uint8_t fail_count

Definition at line 22 of file ekf_check.cpp.

◆ last_warn_time

uint32_t last_warn_time

Definition at line 24 of file ekf_check.cpp.