mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Autotest: raise set_rc timeout to prevent mavproxy to miss msg on speedup
This commit is contained in:
parent
4558ef5b1e
commit
b3c2e134f9
@ -148,7 +148,7 @@ def set_rc_default(mavproxy):
|
||||
mavproxy.send('rc %u 1500\n' % chan)
|
||||
|
||||
|
||||
def set_rc(mavproxy, mav, chan, pwm, timeout=2):
|
||||
def set_rc(mavproxy, mav, chan, pwm, timeout=5):
|
||||
"""Setup a simulated RC control to a PWM value"""
|
||||
tstart = get_sim_time(mav)
|
||||
while get_sim_time(mav) < tstart + timeout:
|
||||
|
Loading…
Reference in New Issue
Block a user