diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 20:06:30 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 20:06:30 +0200 |
commit | 8d7a12218ca4305e3ca36320584113773e550091 (patch) | |
tree | c29351d6cd4c37ea58aba13804e1b6da9550888f /src | |
parent | 9e82f14ad805dab3be7fcba701430db54c4b339f (diff) | |
download | px4-firmware-8d7a12218ca4305e3ca36320584113773e550091.tar.gz px4-firmware-8d7a12218ca4305e3ca36320584113773e550091.tar.bz2 px4-firmware-8d7a12218ca4305e3ca36320584113773e550091.zip |
Time out after a reasonable interval (10 seconds, as e.g. OBC rules prescribe). Experiments show the SiK radios to time out ~4-7 seconds if they loose sync
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/commander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 6c2c03070..74deda8cc 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -129,7 +129,7 @@ extern struct system_load_s system_load; #define POSITION_TIMEOUT (2 * 1000 * 1000) /**< consider the local or global position estimate invalid after 600ms */ #define FAILSAFE_DEFAULT_TIMEOUT (3 * 1000 * 1000) /**< hysteresis time - the failsafe will trigger after 3 seconds in this state */ #define RC_TIMEOUT 500000 -#define DL_TIMEOUT 5 * 1000* 1000 +#define DL_TIMEOUT (10 * 1000 * 1000) #define OFFBOARD_TIMEOUT 500000 #define DIFFPRESS_TIMEOUT 2000000 |