forked from Archive/PX4-Autopilot
mavsdk_tests: try with faster RC rate
This commit is contained in:
parent
f8f03835ad
commit
d2cb27e0de
|
@ -449,7 +449,7 @@ void AutopilotTester::fly_forward_in_posctl()
|
|||
CHECK(_manual_control->set_manual_control_input(0.f, 0.f, 0.f, 0.f) == ManualControl::Result::Success);
|
||||
CHECK(_manual_control->start_position_control() == ManualControl::Result::Success);
|
||||
|
||||
const unsigned manual_control_rate_hz = 20;
|
||||
const unsigned manual_control_rate_hz = 50;
|
||||
|
||||
// Climb up for 5 seconds
|
||||
for (unsigned i = 0; i < 5 * manual_control_rate_hz; ++i) {
|
||||
|
@ -480,7 +480,7 @@ void AutopilotTester::fly_forward_in_altctl()
|
|||
CHECK(_manual_control->set_manual_control_input(0.f, 0.f, 0.f, 0.f) == ManualControl::Result::Success);
|
||||
CHECK(_manual_control->start_altitude_control() == ManualControl::Result::Success);
|
||||
|
||||
const unsigned manual_control_rate_hz = 20;
|
||||
const unsigned manual_control_rate_hz = 50;
|
||||
|
||||
// Climb up for 5 seconds
|
||||
for (unsigned i = 0; i < 5 * manual_control_rate_hz; ++i) {
|
||||
|
|
Loading…
Reference in New Issue