mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:43:33 +08:00
mavsdk_tests: add VTOL mission tests
This adds VTOL mission tests to the CI integration tests. This depends on MAVSDK v0.38.0.
This commit is contained in:
@@ -34,15 +34,13 @@
|
||||
#include "autopilot_tester.h"
|
||||
|
||||
|
||||
TEST_CASE("Takeoff and transition and RTL", "[vtol]")
|
||||
TEST_CASE("Fly VTOL mission", "[vtol]")
|
||||
{
|
||||
AutopilotTester tester;
|
||||
tester.connect(connection_url);
|
||||
tester.load_qgc_mission_raw("test/mavsdk_tests/vtol_mission_allmend.plan");
|
||||
tester.wait_until_ready();
|
||||
tester.arm();
|
||||
tester.takeoff();
|
||||
tester.wait_until_hovering();
|
||||
tester.transition_to_fixedwing();
|
||||
tester.execute_rtl();
|
||||
tester.execute_mission_raw();
|
||||
tester.wait_until_disarmed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user