autotest: fixed sim_quad viewerip handling

This commit is contained in:
Andrew Tridgell 2011-12-02 17:16:36 +11:00
parent 1878db2013
commit fb3d4eab90
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def fly_ArduCopter(viewerip=None):
simquad_cmd = util.reltopdir('Tools/autotest/pysim/sim_quad.py') + ' --rate=400 --home=%f,%f,%u,%u' % (
HOME.lat, HOME.lng, HOME.alt, HOME.heading)
if viewerip:
simquad_cmd += ' --fgout=192.168.2.15:9123'
simquad_cmd += ' --fgout=%s:5503' % viewerip
sil = util.start_SIL('ArduCopter', wipe=True)
mavproxy = util.start_MAVProxy_SIL('ArduCopter')