autotest: start SITL in synthetic clock mode

This commit is contained in:
Andrew Tridgell 2015-04-30 17:15:59 +10:00
parent 74581a55bc
commit 1cbbf1ab9e
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ def pexpect_drain(p):
except pexpect.TIMEOUT:
pass
def start_SIL(atype, valgrind=False, wipe=False, height=None, synthetic_clock=False):
def start_SIL(atype, valgrind=False, wipe=False, height=None, synthetic_clock=True):
'''launch a SIL instance'''
import pexpect
cmd=""
@ -142,7 +142,7 @@ def start_SIL(atype, valgrind=False, wipe=False, height=None, synthetic_clock=Fa
return ret
def start_MAVProxy_SIL(atype, aircraft=None, setup=False, master='tcp:127.0.0.1:5760',
options=None, logfile=sys.stdout, synthetic_clock=False):
options=None, logfile=sys.stdout):
'''launch mavproxy connected to a SIL instance'''
import pexpect
global close_list

View File

@ -303,7 +303,7 @@ if [ $START_ANTENNA_TRACKER == 1 ]; then
popd
fi
cmd="/tmp/$VEHICLE.build/$VEHICLE.elf -I$INSTANCE"
cmd="/tmp/$VEHICLE.build/$VEHICLE.elf -S -I$INSTANCE"
if [ $WIPE_EEPROM == 1 ]; then
cmd="$cmd -w"
fi