mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
autotest: fixed rover test
This commit is contained in:
parent
1cbbf1ab9e
commit
9204cab7d5
@ -87,7 +87,7 @@ def drive_APMrover2(viewerip=None, map=False):
|
||||
HOME.lat, HOME.lng, HOME.alt, HOME.heading)
|
||||
|
||||
sil = util.start_SIL('APMrover2', wipe=True)
|
||||
mavproxy = util.start_MAVProxy_SIL('APMrover2', options=options, synthetic_clock=True)
|
||||
mavproxy = util.start_MAVProxy_SIL('APMrover2', options=options)
|
||||
|
||||
runsim = pexpect.spawn(sim_cmd, logfile=sys.stdout, timeout=10)
|
||||
runsim.delaybeforesend = 0
|
||||
@ -106,7 +106,7 @@ def drive_APMrover2(viewerip=None, map=False):
|
||||
util.pexpect_close(runsim)
|
||||
|
||||
sil = util.start_SIL('APMrover2')
|
||||
mavproxy = util.start_MAVProxy_SIL('APMrover2', options=options, synthetic_clock=True)
|
||||
mavproxy = util.start_MAVProxy_SIL('APMrover2', options=options)
|
||||
mavproxy.expect('Logging to (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
print("LOGFILE %s" % logfile)
|
||||
|
Loading…
Reference in New Issue
Block a user