aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander
diff options
context:
space:
mode:
authorLorenz Meier <lorenz@px4.io>2015-03-07 12:07:28 +0100
committerLorenz Meier <lorenz@px4.io>2015-03-07 12:07:28 +0100
commitd8b64a05d725bd2d231d270114d3541f8d10cb6f (patch)
tree1bffa57d25adaec32a6dda0f3977ec781fe8771a /src/modules/commander
parent25a924f8d69db5b2fff11e1b799cb81cc065eeec (diff)
parente0d1e3ca5e73a2e6a56a8b1050cba6b420e915d0 (diff)
downloadpx4-firmware-d8b64a05d725bd2d231d270114d3541f8d10cb6f.tar.gz
px4-firmware-d8b64a05d725bd2d231d270114d3541f8d10cb6f.tar.bz2
px4-firmware-d8b64a05d725bd2d231d270114d3541f8d10cb6f.zip
Merge pull request #1873 from Zefz/ekf-dead-reckoning-fix
AttPosEKF dead reckoning fix
Diffstat (limited to 'src/modules/commander')
-rw-r--r--src/modules/commander/commander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp
index f832f761e..cd1db4e51 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -133,7 +133,7 @@ extern struct system_load_s system_load;
#define STICK_ON_OFF_HYSTERESIS_TIME_MS 1000
#define STICK_ON_OFF_COUNTER_LIMIT (STICK_ON_OFF_HYSTERESIS_TIME_MS*COMMANDER_MONITORING_LOOPSPERMSEC)
-#define POSITION_TIMEOUT (2 * 1000 * 1000) /**< consider the local or global position estimate invalid after 600ms */
+#define POSITION_TIMEOUT (1 * 1000 * 1000) /**< consider the local or global position estimate invalid after 1000ms */
#define FAILSAFE_DEFAULT_TIMEOUT (3 * 1000 * 1000) /**< hysteresis time - the failsafe will trigger after 3 seconds in this state */
#define OFFBOARD_TIMEOUT 500000
#define DIFFPRESS_TIMEOUT 2000000