From 616c6f27a6522673a8196f4f7a7ceef10ca5f949 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Dec 2011 19:04:00 +1100 Subject: [PATCH] autotest: fixed wind specification for arduplane test --- Tools/autotest/arduplane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index c089321fda..d208211fb1 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -9,6 +9,7 @@ testdir=os.path.dirname(os.path.realpath(__file__)) HOME_LOCATION='-35.362938,149.165085,584,270' +WIND="5,180,0.2" # speed,direction,variance homeloc = None @@ -215,8 +216,7 @@ def fly_ArduPlane(viewerip=None): util.pexpect_close(sil) cmd = util.reltopdir("Tools/autotest/jsbsim/runsim.py") - cmd += " --home=%s --wind=5,180,0.2" % ( - HOME_LOCATION, util.reltopdir("Tools/autotest/jsbsim")) + cmd += " --home=%s --wind=%s" % (HOME_LOCATION, WIND) if viewerip: cmd += " --fgout=%s:5503" % viewerip