mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
autotest: increase stream rate to 5 for ArduCopter test
needed to get accurate heading monitoring
This commit is contained in:
parent
90c6bad814
commit
de1a5ab9ce
@ -267,7 +267,7 @@ def fly_ArduCopter(viewerip=None):
|
|||||||
simquad = pexpect.spawn(simquad_cmd, logfile=sys.stdout, timeout=10)
|
simquad = pexpect.spawn(simquad_cmd, logfile=sys.stdout, timeout=10)
|
||||||
simquad.delaybeforesend = 0
|
simquad.delaybeforesend = 0
|
||||||
util.pexpect_autoclose(simquad)
|
util.pexpect_autoclose(simquad)
|
||||||
options = '--sitl=127.0.0.1:5501 --out=127.0.0.1:19550 --quadcopter --streamrate=1'
|
options = '--sitl=127.0.0.1:5501 --out=127.0.0.1:19550 --quadcopter --streamrate=5'
|
||||||
if viewerip:
|
if viewerip:
|
||||||
options += ' --out=%s:14550' % viewerip
|
options += ' --out=%s:14550' % viewerip
|
||||||
mavproxy = util.start_MAVProxy_SIL('ArduCopter', options=options)
|
mavproxy = util.start_MAVProxy_SIL('ArduCopter', options=options)
|
||||||
|
Loading…
Reference in New Issue
Block a user