mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
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:
parent
f12d06d76b
commit
fe24721218
@ -14,7 +14,7 @@
|
|||||||
#include <AP_Baro.h>
|
#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_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
|
/// @class Baro_Glitch
|
||||||
/// @brief Baro Glitch protection class
|
/// @brief Baro Glitch protection class
|
||||||
|
Loading…
Reference in New Issue
Block a user