Functions | |
def | generate (basename, xml) |
def | generate_classes (outf, msgs) |
def | generate_enums (outf, enums) |
def | generate_mavlink_class (outf, msgs, xml) |
def | generate_message_ids (outf, msgs) |
def | generate_methods (outf, msgs) |
def | generate_preamble (outf, msgs, basename, args, xml) |
def | mavdefault (field) |
def | mavfmt (field) |
def | native_mavfmt (field) |
Variables | |
t = mavtemplate.MAVTemplate() | |
parse a MAVLink protocol XML file and generate a python implementation Copyright Andrew Tridgell 2011 Released under GNU GPL version 3 or later
def pymavlink.generator.mavgen_python.generate | ( | basename, | |
xml | |||
) |
generate complete python implementation
Definition at line 864 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_classes | ( | outf, | |
msgs | |||
) |
Definition at line 279 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_enums | ( | outf, | |
enums | |||
) |
Definition at line 242 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_mavlink_class | ( | outf, | |
msgs, | |||
xml | |||
) |
Definition at line 397 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_message_ids | ( | outf, | |
msgs | |||
) |
Definition at line 271 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_methods | ( | outf, | |
msgs | |||
) |
Definition at line 807 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.generate_preamble | ( | outf, | |
msgs, | |||
basename, | |||
args, | |||
xml | |||
) |
Definition at line 19 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.mavdefault | ( | field | ) |
returns default value for field (as string) for mavlink2 extensions
Definition at line 386 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.mavfmt | ( | field | ) |
work out the struct format for a type
Definition at line 362 of file mavgen_python.py.
def pymavlink.generator.mavgen_python.native_mavfmt | ( | field | ) |
work out the struct format for a type (in a form expected by mavnative)
Definition at line 343 of file mavgen_python.py.
pymavlink.generator.mavgen_python.t = mavtemplate.MAVTemplate() |
Definition at line 16 of file mavgen_python.py.