4 changed files with 41 additions and 1 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// VTOL mission test.
|
||||
//
|
||||
// Author: Lorenz Meier <lorenz@px4.io>
|
||||
|
||||
#include <mavsdk/mavsdk.h> |
||||
#include <mavsdk/plugins/action/action.h> |
||||
#include <mavsdk/plugins/telemetry/telemetry.h> |
||||
#include <iostream> |
||||
#include <string> |
||||
#include "autopilot_tester.h" |
||||
|
||||
|
||||
TEST_CASE("Takeoff, transition and RTL", "[vtol]") |
||||
{ |
||||
AutopilotTester tester; |
||||
tester.connect(connection_url); |
||||
tester.wait_until_ready(); |
||||
tester.arm(); |
||||
tester.takeoff(); |
||||
tester.wait_until_hovering(); |
||||
tester.transition_to_fixedwing(); |
||||
tester.execute_rtl(); |
||||
tester.wait_until_disarmed(); |
||||
} |
Loading…
Reference in new issue