Browse Source

Autotest: raise set_rc timeout to prevent mavproxy to miss msg on speedup

mission-4.1.18
Pierre Kancir 7 years ago committed by Randy Mackay
parent
commit
b3c2e134f9
  1. 2
      Tools/autotest/common.py

2
Tools/autotest/common.py

@ -148,7 +148,7 @@ def set_rc_default(mavproxy): @@ -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…
Cancel
Save