mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:33:34 +08:00
mavsdk_tests: increase timeouts yet again
This is after using PX4 time to check for timeouts.
This commit is contained in:
@@ -43,7 +43,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(30);
|
||||
std::chrono::seconds goto_timeout = std::chrono::seconds(90);
|
||||
tester.offboard_goto(takeoff_position, 0.1f, goto_timeout);
|
||||
tester.offboard_land();
|
||||
tester.wait_until_disarmed(goto_timeout);
|
||||
@@ -61,7 +61,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(30);
|
||||
std::chrono::seconds goto_timeout = std::chrono::seconds(90);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user