mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Added extrude to KML out
This commit is contained in:
parent
dd96b146b5
commit
5090f2710b
@ -58,7 +58,7 @@ def convert_gpx():
|
|||||||
util.run_cmd(util.reltopdir("../pymavlink/examples/mavtogpx.py") + " --nofixcheck " + m)
|
util.run_cmd(util.reltopdir("../pymavlink/examples/mavtogpx.py") + " --nofixcheck " + m)
|
||||||
gpx = m + '.gpx'
|
gpx = m + '.gpx'
|
||||||
kml = m + '.kml'
|
kml = m + '.kml'
|
||||||
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1 -F %s' % (gpx, kml), checkfail=False)
|
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ You can get it from git://git.samba.org/tridge/UAV/HILTest.git
|
|||||||
''' % util.reltopdir('../HILTest'))
|
''' % util.reltopdir('../HILTest'))
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
############## main program #############
|
############## main program #############
|
||||||
parser = optparse.OptionParser("autotest")
|
parser = optparse.OptionParser("autotest")
|
||||||
|
Loading…
Reference in New Issue
Block a user