Browse Source

mavsdk_tests: fix timeout at 1x speed

release/1.12
Julian Oes 4 years ago committed by Daniel Agar
parent
commit
f16913c175
  1. 2
      test/mavsdk_tests/test_multicopter_offboard.cpp

2
test/mavsdk_tests/test_multicopter_offboard.cpp

@ -61,7 +61,7 @@ TEST_CASE("Offboard position control", "[multicopter][offboard]")
tester.wait_until_ready(); tester.wait_until_ready();
tester.store_home(); tester.store_home();
tester.arm(); tester.arm();
std::chrono::seconds goto_timeout = std::chrono::seconds(90); std::chrono::seconds goto_timeout = std::chrono::seconds(120);
tester.offboard_goto(takeoff_position, 0.1f, goto_timeout); tester.offboard_goto(takeoff_position, 0.1f, goto_timeout);
tester.offboard_goto(setpoint_1, 0.1f, goto_timeout); tester.offboard_goto(setpoint_1, 0.1f, goto_timeout);
tester.offboard_goto(setpoint_2, 0.1f, goto_timeout); tester.offboard_goto(setpoint_2, 0.1f, goto_timeout);

Loading…
Cancel
Save