Functions | Variables
pymavlink::tools::mavkml Namespace Reference

Functions

def add_data
def add_to_linestring
def process_file
def save_kml
def sniff_field_spelling

Variables

string action = 'store_true'
tuple args = parser.parse_args()
list colors
list f = filenames[fi]
list filenames = []
string help = "select packets by a condition [default: %(default)s]"
tuple kml = simplekml.Kml()
list kml_linestrings = []
string mainstate_field = 'STAT.MainState'
tuple parser = ArgumentParser(description=__doc__)
list position_field_types

Function Documentation

def pymavlink.tools.mavkml.add_data (   t,
  msg,
  msg_types,
  vars,
  fields,
  field_types,
  position_field_type 
)
add some data

Definition at line 46 of file mavkml.py.

def pymavlink.tools.mavkml.add_to_linestring (   position_data,
  kml_linestring 
)
add a point to the kml file

Definition at line 30 of file mavkml.py.

def pymavlink.tools.mavkml.process_file (   filename,
  source 
)
process one file

Definition at line 118 of file mavkml.py.

def pymavlink.tools.mavkml.save_kml (   filename)
saves the kml file

Definition at line 39 of file mavkml.py.

def pymavlink.tools.mavkml.sniff_field_spelling (   mlog,
  source 
)
attempt to detect whether APM or PX4 attributes names are in use

Definition at line 153 of file mavkml.py.


Variable Documentation

string pymavlink::tools::mavkml::action = 'store_true'

Definition at line 168 of file mavkml.py.

tuple pymavlink::tools::mavkml::args = parser.parse_args()

Definition at line 184 of file mavkml.py.

Initial value:
00001 [simplekml.Color.red, simplekml.Color.green, simplekml.Color.blue,
00002           simplekml.Color.violet, simplekml.Color.yellow, simplekml.Color.orange,
00003           simplekml.Color.burlywood, simplekml.Color.azure, simplekml.Color.lightblue,
00004           simplekml.Color.lawngreen, simplekml.Color.indianred, simplekml.Color.hotpink]

Definition at line 21 of file mavkml.py.

Definition at line 196 of file mavkml.py.

Definition at line 186 of file mavkml.py.

string pymavlink::tools::mavkml::help = "select packets by a condition [default: %(default)s]"

Definition at line 170 of file mavkml.py.

tuple pymavlink::tools::mavkml::kml = simplekml.Kml()

Definition at line 26 of file mavkml.py.

Definition at line 27 of file mavkml.py.

string pymavlink::tools::mavkml::mainstate_field = 'STAT.MainState'

Definition at line 15 of file mavkml.py.

tuple pymavlink::tools::mavkml::parser = ArgumentParser(description=__doc__)

Definition at line 166 of file mavkml.py.

Initial value:
00001 [  # Order must be lon, lat, alt to match KML
00002   ['Lon', 'Lat', 'Alt'],  # PX4
00003   ['Lng', 'Lat', 'Alt']   # APM > 3
00004 ]

Definition at line 16 of file mavkml.py.



mavlink
Author(s): Lorenz Meier
autogenerated on Thu Jun 6 2019 19:01:58