mavsdk_tests: move waypoints to vehicle position

This way it shouldn't matter where the test is run.
This commit is contained in:
Julian Oes
2021-03-26 11:06:31 +01:00
committed by Daniel Agar
parent 9eadabcb02
commit cd66a79747
3 changed files with 25 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ 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.load_qgc_mission_raw_and_move_here("test/mavsdk_tests/vtol_mission_allmend.plan");
tester.arm();
tester.execute_mission_raw();
tester.wait_until_disarmed();