Classes | Functions | Variables
pymavlink.generator.mavgen Namespace Reference

Classes

class  Opts
 

Functions

def mavgen (opts, args)
 
def mavgen_python_dialect (dialect, wire_protocol)
 

Variables

int DEFAULT_ERROR_LIMIT = 200
 
string DEFAULT_LANGUAGE = 'Python'
 
bool DEFAULT_STRICT_UNITS = False
 
bool DEFAULT_VALIDATE = True
 
 DEFAULT_WIRE_PROTOCOL = mavparse.PROTOCOL_1_0
 
int MAXIMUM_INCLUDE_FILE_NESTING = 5
 
 schemaFile = os.path.join(os.path.dirname(os.path.realpath(__file__)), "mavschema.xsd")
 
list supportedLanguages = ["C", "CS", "JavaScript", "Python", "WLua", "ObjC", "Swift", "Java", "C++11"]
 

Detailed Description

parse a MAVLink protocol XML file and generate a python implementation

Copyright Andrew Tridgell 2011
Released under GNU GPL version 3 or later

Function Documentation

def pymavlink.generator.mavgen.mavgen (   opts,
  args 
)
Generate mavlink message formatters and parsers (C and Python ) using options
and args where args are a list of xml files. This function allows python
scripts under Windows to control mavgen using the same interface as
shell scripts under Unix

Definition at line 36 of file generator/mavgen.py.

def pymavlink.generator.mavgen.mavgen_python_dialect (   dialect,
  wire_protocol 
)
generate the python code on the fly for a MAVLink dialect

Definition at line 209 of file generator/mavgen.py.

Variable Documentation

int pymavlink.generator.mavgen.DEFAULT_ERROR_LIMIT = 200

Definition at line 26 of file generator/mavgen.py.

string pymavlink.generator.mavgen.DEFAULT_LANGUAGE = 'Python'

Definition at line 25 of file generator/mavgen.py.

bool pymavlink.generator.mavgen.DEFAULT_STRICT_UNITS = False

Definition at line 28 of file generator/mavgen.py.

bool pymavlink.generator.mavgen.DEFAULT_VALIDATE = True

Definition at line 27 of file generator/mavgen.py.

pymavlink.generator.mavgen.DEFAULT_WIRE_PROTOCOL = mavparse.PROTOCOL_1_0

Definition at line 24 of file generator/mavgen.py.

int pymavlink.generator.mavgen.MAXIMUM_INCLUDE_FILE_NESTING = 5

Definition at line 30 of file generator/mavgen.py.

pymavlink.generator.mavgen.schemaFile = os.path.join(os.path.dirname(os.path.realpath(__file__)), "mavschema.xsd")

Definition at line 21 of file generator/mavgen.py.

list pymavlink.generator.mavgen.supportedLanguages = ["C", "CS", "JavaScript", "Python", "WLua", "ObjC", "Swift", "Java", "C++11"]

Definition at line 33 of file generator/mavgen.py.



mavlink
Author(s): Lorenz Meier
autogenerated on Sun Jul 7 2019 03:22:08