mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mavsdk_tests: fly forward even longer
Hopefully that's enough.
This commit is contained in:
parent
4c00c1f561
commit
a299e2c57d
@ -461,8 +461,8 @@ void AutopilotTester::fly_forward_in_posctl()
|
||||
std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz)));
|
||||
}
|
||||
|
||||
// Fly forward for 15 seconds
|
||||
for (unsigned i = 0; i < 15 * manual_control_rate_hz; ++i) {
|
||||
// Fly forward for 20 seconds
|
||||
for (unsigned i = 0; i < 20 * manual_control_rate_hz; ++i) {
|
||||
CHECK(_manual_control->set_manual_control_input(0.5f, 0.f, 0.5f, 0.f) == ManualControl::Result::Success);
|
||||
std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz)));
|
||||
}
|
||||
@ -496,8 +496,8 @@ void AutopilotTester::fly_forward_in_altctl()
|
||||
std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz)));
|
||||
}
|
||||
|
||||
// Fly forward for 15 seconds
|
||||
for (unsigned i = 0; i < 15 * manual_control_rate_hz; ++i) {
|
||||
// Fly forward for 20 seconds
|
||||
for (unsigned i = 0; i < 20 * manual_control_rate_hz; ++i) {
|
||||
CHECK(_manual_control->set_manual_control_input(0.5f, 0.f, 0.5f, 0.f) == ManualControl::Result::Success);
|
||||
std::this_thread::sleep_for(adjust_to_lockstep_speed(std::chrono::milliseconds(1000 / manual_control_rate_hz)));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user