autotest.py: remove TARGET no longer required
This commit is contained in:
parent
3548f90d3a
commit
480e142cfb
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user