mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
autotest: fixed wind specification for arduplane test
This commit is contained in:
parent
d416013bd8
commit
616c6f27a6
@ -9,6 +9,7 @@ testdir=os.path.dirname(os.path.realpath(__file__))
|
|||||||
|
|
||||||
|
|
||||||
HOME_LOCATION='-35.362938,149.165085,584,270'
|
HOME_LOCATION='-35.362938,149.165085,584,270'
|
||||||
|
WIND="5,180,0.2" # speed,direction,variance
|
||||||
|
|
||||||
homeloc = None
|
homeloc = None
|
||||||
|
|
||||||
@ -215,8 +216,7 @@ def fly_ArduPlane(viewerip=None):
|
|||||||
util.pexpect_close(sil)
|
util.pexpect_close(sil)
|
||||||
|
|
||||||
cmd = util.reltopdir("Tools/autotest/jsbsim/runsim.py")
|
cmd = util.reltopdir("Tools/autotest/jsbsim/runsim.py")
|
||||||
cmd += " --home=%s --wind=5,180,0.2" % (
|
cmd += " --home=%s --wind=%s" % (HOME_LOCATION, WIND)
|
||||||
HOME_LOCATION, util.reltopdir("Tools/autotest/jsbsim"))
|
|
||||||
if viewerip:
|
if viewerip:
|
||||||
cmd += " --fgout=%s:5503" % viewerip
|
cmd += " --fgout=%s:5503" % viewerip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user