Browse Source

autotest.py: remove TARGET no longer required

mission-4.1.18
Peter Barker 9 years ago committed by Lucas De Marchi
parent
commit
480e142cfb
  1. 4
      Tools/autotest/arducopter.py

4
Tools/autotest/arducopter.py

@ -16,7 +16,6 @@ import random @@ -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): @@ -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')

Loading…
Cancel
Save