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:
Julian Oes
2021-04-06 11:35:18 -04:00
committed by Daniel Agar
parent 1e88939605
commit d714c2faec
6 changed files with 252 additions and 11 deletions
+3 -5
View File
@@ -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();
}