BaroGlitch: increase default ok distance to 5m

When taking off some copters hove a sudden baro altitude dip of 4m
This commit is contained in:
Randy Mackay 2014-08-02 11:43:06 +09:00
parent f12d06d76b
commit fe24721218
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
#include <AP_Baro.h>
#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