From 9a9efdaaa5a1a67be9a0939495503f222a1f3987 Mon Sep 17 00:00:00 2001 From: philipoe Date: Tue, 7 Apr 2015 15:20:05 +0200 Subject: [PATCH] commander: Increase timeout on airspeed sensor for the prearm_check --- src/modules/commander/state_machine_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 0154f235f6..e1d2d72d1d 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;