From 9b2527549bf61a68cd94c0cdce51628fdc2bc788 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 28 May 2020 14:49:30 +0200 Subject: [PATCH] mavsdk_tests: relax timeout for offboard goto This probably makes sense because we ask for more accuracy, so it will take longer to reach a position. --- test/mavsdk_tests/test_multicopter_offboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mavsdk_tests/test_multicopter_offboard.cpp b/test/mavsdk_tests/test_multicopter_offboard.cpp index 88f7fa881d..2d8c23d6c9 100644 --- a/test/mavsdk_tests/test_multicopter_offboard.cpp +++ b/test/mavsdk_tests/test_multicopter_offboard.cpp @@ -47,7 +47,7 @@ TEST_CASE("Offboard takeoff and land", "[multicopter][offboard][nogps]") tester.wait_until_ready_local_position_only(); tester.store_home(); tester.arm(); - std::chrono::seconds goto_timeout = std::chrono::seconds(10); + std::chrono::seconds goto_timeout = std::chrono::seconds(20); tester.offboard_goto(takeoff_position, 0.1f, goto_timeout); tester.offboard_land(); tester.wait_until_disarmed(goto_timeout); @@ -65,7 +65,7 @@ TEST_CASE("Offboard position control", "[multicopter][offboard][nogps]") tester.wait_until_ready_local_position_only(); tester.store_home(); tester.arm(); - std::chrono::seconds goto_timeout = std::chrono::seconds(10); + std::chrono::seconds goto_timeout = std::chrono::seconds(20); tester.offboard_goto(takeoff_position, 0.1f, goto_timeout); tester.offboard_goto(setpoint_1, 0.1f, goto_timeout); tester.offboard_goto(setpoint_2, 0.1f, goto_timeout);