diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 155bfdb991..a29aa2832e 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -301,7 +301,7 @@ def fly_ArduCopter(): util.expect_setup_callback(mavproxy, expect_callback) # start hil_quad.py - hquad = pexpect.spawn(util.reltopdir('../HILTest/hil_quad.py') + ' --fgout=192.168.2.15:9123 --home=%s' % HOME_LOCATION, + hquad = pexpect.spawn(util.reltopdir('../HILTest/hil_quad.py') + ' --fgout=192.168.2.15:9123 --fgrate=200 --home=%s' % HOME_LOCATION, logfile=sys.stdout, timeout=10) util.pexpect_autoclose(hquad) hquad.expect('Starting at') diff --git a/Tools/autotest/util.py b/Tools/autotest/util.py index df721ae68e..e9e4ff99d6 100644 --- a/Tools/autotest/util.py +++ b/Tools/autotest/util.py @@ -106,11 +106,12 @@ def start_SIL(atype, valgrind=False, wipe=False, CLI=False): return ret def start_MAVProxy_SIL(atype, aircraft=None, setup=False, master='tcp:127.0.0.1:5760', + fgrate=200, options=None, logfile=sys.stdout): '''launch mavproxy connected to a SIL instance''' global close_list MAVPROXY = reltopdir('../MAVProxy/mavproxy.py') - cmd = MAVPROXY + ' --master=%s' % master + cmd = MAVPROXY + ' --master=%s --fgrate=%u' % (master, fgrate) if setup: cmd += ' --setup' if aircraft is None: