|
|
|
@ -47,7 +47,7 @@ TEST_CASE("Offboard takeoff and land", "[multicopter][offboard][nogps]")
@@ -47,7 +47,7 @@ TEST_CASE("Offboard takeoff and land", "[multicopter][offboard][nogps]")
|
|
|
|
|
tester.wait_until_ready_local_position_only(); |
|
|
|
|
tester.store_home(); |
|
|
|
|
tester.arm(); |
|
|
|
|
std::chrono::seconds goto_timeout = std::chrono::seconds(10); |
|
|
|
|
std::chrono::seconds goto_timeout = std::chrono::seconds(20); |
|
|
|
|
tester.offboard_goto(takeoff_position, 0.1f, goto_timeout); |
|
|
|
|
tester.offboard_land(); |
|
|
|
|
tester.wait_until_disarmed(goto_timeout); |
|
|
|
@ -65,7 +65,7 @@ TEST_CASE("Offboard position control", "[multicopter][offboard][nogps]")
@@ -65,7 +65,7 @@ TEST_CASE("Offboard position control", "[multicopter][offboard][nogps]")
|
|
|
|
|
tester.wait_until_ready_local_position_only(); |
|
|
|
|
tester.store_home(); |
|
|
|
|
tester.arm(); |
|
|
|
|
std::chrono::seconds goto_timeout = std::chrono::seconds(10); |
|
|
|
|
std::chrono::seconds goto_timeout = std::chrono::seconds(20); |
|
|
|
|
tester.offboard_goto(takeoff_position, 0.1f, goto_timeout); |
|
|
|
|
tester.offboard_goto(setpoint_1, 0.1f, goto_timeout); |
|
|
|
|
tester.offboard_goto(setpoint_2, 0.1f, goto_timeout); |
|
|
|
|