forked from Archive/PX4-Autopilot
mavsdk_tests: increase timeouts yet again
This is after using PX4 time to check for timeouts.
This commit is contained in:
parent
3135b94980
commit
f8f03835ad
|
@ -47,7 +47,7 @@ TEST_CASE("Land on GPS lost during mission (baro height mode)", "[multicopter][v
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_lose_gps();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(30);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ TEST_CASE("Land on GPS lost during mission (GPS height mode)", "[multicopter][vt
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_lose_gps();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(30);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ TEST_CASE("Continue on mag lost during mission", "[multicopter][vtol]")
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_lose_mag();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(120);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@ TEST_CASE("Continue on mag stuck during mission", "[multicopter][vtol]")
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_get_mag_stuck();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,7 @@ TEST_CASE("Continue on baro lost during mission (baro height mode)", "[multicopt
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_lose_baro();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ TEST_CASE("Continue on baro lost during mission (GPS height mode)", "[multicopte
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_lose_baro();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ TEST_CASE("Continue on baro stuck during mission (baro height mode)", "[multicop
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_get_baro_stuck();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
||||
|
@ -158,6 +158,6 @@ TEST_CASE("Continue on baro stuck during mission (GPS height mode)", "[multicopt
|
|||
tester.prepare_square_mission(mission_options);
|
||||
tester.arm();
|
||||
tester.execute_mission_and_get_baro_stuck();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ TEST_CASE("Fly forward in position control", "[multicopter][vtol]")
|
|||
tester.store_home();
|
||||
tester.arm();
|
||||
tester.fly_forward_in_posctl();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(20);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(60);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
tester.check_home_not_within(5.f);
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ TEST_CASE("Fly forward in altitude control", "[multicopter][vtol]")
|
|||
tester.store_home();
|
||||
tester.arm();
|
||||
tester.fly_forward_in_altctl();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(20);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(60);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
tester.check_home_not_within(5.f);
|
||||
}
|
||||
|
|
|
@ -97,6 +97,6 @@ TEST_CASE("Fly straight Multicopter Mission", "[multicopter]")
|
|||
tester.execute_mission();
|
||||
tester.wait_until_hovering();
|
||||
tester.execute_rtl();
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(60);
|
||||
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(120);
|
||||
tester.wait_until_disarmed(until_disarmed_timeout);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue