From fe247212185816df2b7950ab4d378a1de4e69264 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 2 Aug 2014 11:43:06 +0900 Subject: [PATCH] BaroGlitch: increase default ok distance to 5m When taking off some copters hove a sudden baro altitude dip of 4m --- libraries/AP_Baro/AP_Baro_Glitch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro_Glitch.h b/libraries/AP_Baro/AP_Baro_Glitch.h index f3b9e34811..0d369980aa 100644 --- a/libraries/AP_Baro/AP_Baro_Glitch.h +++ b/libraries/AP_Baro/AP_Baro_Glitch.h @@ -14,7 +14,7 @@ #include #define BARO_GLITCH_ACCEL_MAX_CMSS 1000.0f // vehicle can accelerate at up to 10m/s/s vertically -#define BARO_GLITCH_DISTANCE_OK_CM 200.0f // baro movement within 2m of current position is always ok +#define BARO_GLITCH_DISTANCE_OK_CM 500.0f // baro movement within 5m of current position is always ok /// @class Baro_Glitch /// @brief Baro Glitch protection class