PX4 Firmware
PX4 Autopilot Software http://px4.io
gps_checks.cpp File Reference

Perform pre-flight and in-flight GPS quality checks. More...

#include "ekf.h"
#include <ecl.h>
#include <geo_lookup/geo_mag_declination.h>
#include <mathlib/mathlib.h>
Include dependency graph for gps_checks.cpp:

Go to the source code of this file.

Macros

#define MASK_GPS_NSATS   (1<<0)
 
#define MASK_GPS_PDOP   (1<<1)
 
#define MASK_GPS_HACC   (1<<2)
 
#define MASK_GPS_VACC   (1<<3)
 
#define MASK_GPS_SACC   (1<<4)
 
#define MASK_GPS_HDRIFT   (1<<5)
 
#define MASK_GPS_VDRIFT   (1<<6)
 
#define MASK_GPS_HSPD   (1<<7)
 
#define MASK_GPS_VSPD   (1<<8)
 

Detailed Description

Perform pre-flight and in-flight GPS quality checks.

Author
Paul Riseborough p_ris.nosp@m.ebor.nosp@m.ough@.nosp@m.live.nosp@m..com..nosp@m.au

Definition in file gps_checks.cpp.

Macro Definition Documentation

◆ MASK_GPS_HACC

#define MASK_GPS_HACC   (1<<2)

Definition at line 51 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_HDRIFT

#define MASK_GPS_HDRIFT   (1<<5)

Definition at line 54 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_HSPD

#define MASK_GPS_HSPD   (1<<7)

Definition at line 56 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_NSATS

#define MASK_GPS_NSATS   (1<<0)

Definition at line 49 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_PDOP

#define MASK_GPS_PDOP   (1<<1)

Definition at line 50 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_SACC

#define MASK_GPS_SACC   (1<<4)

Definition at line 53 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_VACC

#define MASK_GPS_VACC   (1<<3)

Definition at line 52 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_VDRIFT

#define MASK_GPS_VDRIFT   (1<<6)

Definition at line 55 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().

◆ MASK_GPS_VSPD

#define MASK_GPS_VSPD   (1<<8)

Definition at line 57 of file gps_checks.cpp.

Referenced by Ekf::gps_is_good().