diff options
author | philipoe <philipp.oettershagen@mavt.ethz.ch> | 2015-04-07 15:20:05 +0200 |
---|---|---|
committer | philipoe <philipp.oettershagen@mavt.ethz.ch> | 2015-04-07 15:25:45 +0200 |
commit | 9a9efdaaa5a1a67be9a0939495503f222a1f3987 (patch) | |
tree | f272c933e64f767a8de0d9e2c31e0b5f5a8e2041 | |
parent | 1219ef8d43b5e05e334b22441b2bd3b222e76bc5 (diff) | |
download | px4-firmware-9a9efdaaa5a1a67be9a0939495503f222a1f3987.tar.gz px4-firmware-9a9efdaaa5a1a67be9a0939495503f222a1f3987.tar.bz2 px4-firmware-9a9efdaaa5a1a67be9a0939495503f222a1f3987.zip |
commander: Increase timeout on airspeed sensor for the prearm_check
-rw-r--r-- | src/modules/commander/state_machine_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 0154f235f..e1d2d72d1 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -699,7 +699,7 @@ int prearm_check(const struct vehicle_status_s *status, const int mavlink_fd) struct airspeed_s airspeed; if ((ret = orb_copy(ORB_ID(airspeed), fd, &airspeed)) || - (hrt_elapsed_time(&airspeed.timestamp) > (50 * 1000))) { + (hrt_elapsed_time(&airspeed.timestamp) > (500 * 1000))) { mavlink_log_critical(mavlink_fd, "ARM FAIL: AIRSPEED SENSOR MISSING"); failed = true; goto system_eval; |