mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
vtol_rtl_test: explicitly disable RTL_FORCE_APPROACH for RTL direct Home testcase
This commit is contained in:
@@ -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");
|
tester.load_qgc_mission_raw_and_move_here("test/mavsdk_tests/vtol_mission_with_land_start.plan");
|
||||||
// fly directly to home position
|
// fly directly to home position
|
||||||
tester.set_rtl_type(0);
|
tester.set_rtl_type(0);
|
||||||
|
tester.set_rtl_appr_force(0);
|
||||||
tester.arm();
|
tester.arm();
|
||||||
tester.execute_rtl_when_reaching_mission_sequence(2);
|
tester.execute_rtl_when_reaching_mission_sequence(2);
|
||||||
tester.wait_until_disarmed(std::chrono::seconds(120));
|
tester.wait_until_disarmed(std::chrono::seconds(120));
|
||||||
|
|||||||
Reference in New Issue
Block a user