From 72c6db6b23d667ee68a08896b284e9e4e162cb5f Mon Sep 17 00:00:00 2001 From: Konrad Date: Wed, 8 Nov 2023 16:35:57 +0100 Subject: [PATCH] vtol_rtl_test: explicitly disable RTL_FORCE_APPROACH for RTL direct Home testcase --- test/mavsdk_tests/test_vtol_rtl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mavsdk_tests/test_vtol_rtl.cpp b/test/mavsdk_tests/test_vtol_rtl.cpp index b85607a5fa0f..2ce6ef00ff69 100644 --- a/test/mavsdk_tests/test_vtol_rtl.cpp +++ b/test/mavsdk_tests/test_vtol_rtl.cpp @@ -42,6 +42,7 @@ TEST_CASE("RTL direct Home", "[vtol]") tester.load_qgc_mission_raw_and_move_here("test/mavsdk_tests/vtol_mission_with_land_start.plan"); // fly directly to home position tester.set_rtl_type(0); + tester.set_rtl_appr_force(0); tester.arm(); tester.execute_rtl_when_reaching_mission_sequence(2); tester.wait_until_disarmed(std::chrono::seconds(120));