diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 24e7e477b3..a69a9da476 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -16,7 +16,6 @@ import random testdir=os.path.dirname(os.path.realpath(__file__)) FRAME='+' -TARGET='sitl' HOME=mavutil.location(-35.362938,149.165085,584,270) AVCHOME=mavutil.location(40.072842,-105.230575,1586,0) @@ -916,9 +915,6 @@ def fly_ArduCopter(binary, viewerip=None, map=False, valgrind=False): ''' global homeloc - if TARGET != 'sitl': - util.build_SIL('bin/arducopter-quad', target=TARGET) - home = "%f,%f,%u,%u" % (HOME.lat, HOME.lng, HOME.alt, HOME.heading) sil = util.start_SIL(binary, wipe=True, model='+', home=home, speedup=speedup_default) mavproxy = util.start_MAVProxy_SIL('ArduCopter', options='--sitl=127.0.0.1:5501 --out=127.0.0.1:19550 --quadcopter')