APM:Libraries
Classes | Macros
AP_NavEKF2_core.h File Reference
#include <AP_Math/AP_Math.h>
#include "AP_NavEKF2.h"
#include <stdio.h>
#include <AP_Math/vectorN.h>
#include <AP_NavEKF2/AP_NavEKF2_Buffer.h>
Include dependency graph for AP_NavEKF2_core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NavEKF2_core
 
struct  NavEKF2_core::state_elements
 
struct  NavEKF2_core::output_elements
 
struct  NavEKF2_core::imu_elements
 
struct  NavEKF2_core::gps_elements
 
struct  NavEKF2_core::mag_elements
 
struct  NavEKF2_core::baro_elements
 
struct  NavEKF2_core::range_elements
 
struct  NavEKF2_core::rng_bcn_elements
 
struct  NavEKF2_core::tas_elements
 
struct  NavEKF2_core::of_elements
 
struct  NavEKF2_core::ext_nav_elements
 

Macros

#define EK2_DISABLE_INTERRUPTS   0
 
#define MASK_GPS_NSATS   (1<<0)
 
#define MASK_GPS_HDOP   (1<<1)
 
#define MASK_GPS_SPD_ERR   (1<<2)
 
#define MASK_GPS_POS_ERR   (1<<3)
 
#define MASK_GPS_YAW_ERR   (1<<4)
 
#define MASK_GPS_POS_DRIFT   (1<<5)
 
#define MASK_GPS_VERT_SPD   (1<<6)
 
#define MASK_GPS_HORIZ_SPD   (1<<7)
 
#define HGT_SOURCE_BARO   0
 
#define HGT_SOURCE_RNG   1
 
#define HGT_SOURCE_GPS   2
 
#define HGT_SOURCE_BCN   3
 
#define HGT_SOURCE_EV   4
 
#define EKF_TARGET_DT   0.01f
 
#define EKF2_MAG_FINAL_RESET_ALT   2.5f
 

Macro Definition Documentation

◆ EK2_DISABLE_INTERRUPTS

#define EK2_DISABLE_INTERRUPTS   0

Definition at line 25 of file AP_NavEKF2_core.h.

◆ EKF2_MAG_FINAL_RESET_ALT

#define EKF2_MAG_FINAL_RESET_ALT   2.5f

Definition at line 55 of file AP_NavEKF2_core.h.

Referenced by NavEKF2_core::controlMagYawReset().

◆ EKF_TARGET_DT

#define EKF_TARGET_DT   0.01f

◆ HGT_SOURCE_BARO

#define HGT_SOURCE_BARO   0

◆ HGT_SOURCE_BCN

#define HGT_SOURCE_BCN   3

◆ HGT_SOURCE_EV

#define HGT_SOURCE_EV   4

◆ HGT_SOURCE_GPS

#define HGT_SOURCE_GPS   2

◆ HGT_SOURCE_RNG

#define HGT_SOURCE_RNG   1

◆ MASK_GPS_HDOP

#define MASK_GPS_HDOP   (1<<1)

◆ MASK_GPS_HORIZ_SPD

#define MASK_GPS_HORIZ_SPD   (1<<7)

◆ MASK_GPS_NSATS

#define MASK_GPS_NSATS   (1<<0)

◆ MASK_GPS_POS_DRIFT

#define MASK_GPS_POS_DRIFT   (1<<5)

◆ MASK_GPS_POS_ERR

#define MASK_GPS_POS_ERR   (1<<3)

◆ MASK_GPS_SPD_ERR

#define MASK_GPS_SPD_ERR   (1<<2)

◆ MASK_GPS_VERT_SPD

#define MASK_GPS_VERT_SPD   (1<<6)

◆ MASK_GPS_YAW_ERR

#define MASK_GPS_YAW_ERR   (1<<4)