EKF: redefine accelerometer bias state inhibit switch bit location

This commit is contained in:
Paul Riseborough 2016-05-08 16:03:21 +10:00
parent 724280fd1f
commit 2144a40a3c

View File

@ -139,8 +139,7 @@ struct flowSample {
// Bit locations for fusion_mode
#define MASK_USE_GPS (1<<0) // set to true to use GPS data
#define MASK_USE_OF (1<<1) // set to true to use optical flow data
#define MASK_INHIBIT_ACC_BIAS (1<<3) // set to true to inhibit estimation of accelerometer delta velocity bias
#define MASK_INHIBIT_ACC_BIAS (1<<2) // set to true to inhibit estimation of accelerometer delta velocity bias
// Integer definitions for mag_fusion_type
#define MAG_FUSE_TYPE_AUTO 0 // The selection of either heading or 3D magnetometer fusion will be automatic