mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
autotest: fixed pymavlink tools paths
This commit is contained in:
parent
aa2b10f044
commit
caad45aacb
@ -117,7 +117,7 @@ def convert_gpx():
|
||||
import glob
|
||||
mavlog = glob.glob(util.reltopdir("../buildlogs/*.tlog"))
|
||||
for m in mavlog:
|
||||
util.run_cmd(util.reltopdir("../mavlink/pymavlink/examples/mavtogpx.py") + " --nofixcheck " + m)
|
||||
util.run_cmd(util.reltopdir("../mavlink/pymavlink/tools/mavtogpx.py") + " --nofixcheck " + m)
|
||||
gpx = m + '.gpx'
|
||||
kml = m + '.kml'
|
||||
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
|
||||
|
@ -90,7 +90,7 @@ def convert_gpx():
|
||||
import glob
|
||||
mavlog = glob.glob(util.reltopdir("../buildlogs/*.tlog"))
|
||||
for m in mavlog:
|
||||
util.run_cmd(util.reltopdir("../mavlink/pymavlink/examples/mavtogpx.py") + " --nofixcheck " + m)
|
||||
util.run_cmd(util.reltopdir("../mavlink/pymavlink/tools/mavtogpx.py") + " --nofixcheck " + m)
|
||||
gpx = m + '.gpx'
|
||||
kml = m + '.kml'
|
||||
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
|
||||
|
Loading…
Reference in New Issue
Block a user