aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-04-02 15:36:11 +0400
committerAnton Babushkin <anton.babushkin@me.com>2014-04-02 15:36:11 +0400
commitb1d39e65a61ec17d2da30ad37068758ab23d3ba3 (patch)
treeb5d47f2cdca837df2d1fb070117fa2d1667f1756 /src/modules/commander
parent63cd319ff73ddf6bcbf15d3e35afd5df7b58d72e (diff)
downloadpx4-firmware-b1d39e65a61ec17d2da30ad37068758ab23d3ba3.tar.gz
px4-firmware-b1d39e65a61ec17d2da30ad37068758ab23d3ba3.tar.bz2
px4-firmware-b1d39e65a61ec17d2da30ad37068758ab23d3ba3.zip
commander: position timeout increased to 30ms
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 410906c26..1e072678b 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -117,7 +117,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 20000 /**< consider the local or global position estimate invalid after 20ms */
+#define POSITION_TIMEOUT 30000 /**< consider the local or global position estimate invalid after 30ms */
#define RC_TIMEOUT 100000
#define RC_TIMEOUT_HIL 500000
#define DIFFPRESS_TIMEOUT 2000000