autotest: raised timeout on set_rc()

when under load at high speedup the msgs can take a while to get
through
This commit is contained in:
Andrew Tridgell 2018-07-28 16:41:35 +10:00
parent 95aaa01014
commit 037d7d2e74

View File

@ -345,7 +345,7 @@ class AutoTest(ABC):
for chan in range(1, 16):
self.mavproxy.send('rc %u 1500\n' % chan)
def set_rc(self, chan, pwm, timeout=5):
def set_rc(self, chan, pwm, timeout=20):
"""Setup a simulated RC control to a PWM value"""
tstart = self.get_sim_time()
while self.get_sim_time() < tstart + timeout: