From 012763e5f1876c27f0dbbfd2029888755c7d59a0 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 27 Aug 2020 14:46:12 +0200 Subject: [PATCH] mavsdk_tests: fly forward a bit longer Hopefully, that's long enough for slow VTOLs. --- test/mavsdk_tests/autopilot_tester.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mavsdk_tests/autopilot_tester.cpp b/test/mavsdk_tests/autopilot_tester.cpp index 5d3eb1700c..4a7f44c672 100644 --- a/test/mavsdk_tests/autopilot_tester.cpp +++ b/test/mavsdk_tests/autopilot_tester.cpp @@ -461,8 +461,8 @@ void AutopilotTester::fly_forward_in_posctl() std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz))); } - // Fly forward for 20 seconds - for (unsigned i = 0; i < 20 * manual_control_rate_hz; ++i) { + // Fly forward for 30 seconds + for (unsigned i = 0; i < 30 * manual_control_rate_hz; ++i) { CHECK(_manual_control->set_manual_control_input(0.5f, 0.f, 0.5f, 0.f) == ManualControl::Result::Success); std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz))); } @@ -496,8 +496,8 @@ void AutopilotTester::fly_forward_in_altctl() std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz))); } - // Fly forward for 20 seconds - for (unsigned i = 0; i < 20 * manual_control_rate_hz; ++i) { + // Fly forward for 30 seconds + for (unsigned i = 0; i < 30 * manual_control_rate_hz; ++i) { CHECK(_manual_control->set_manual_control_input(0.5f, 0.f, 0.5f, 0.f) == ManualControl::Result::Success); std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz))); }