Functions | |
def | generate (basename, xml) |
def | generate_classes (outf, msgs) |
def | generate_enums (outf, enums) |
def | generate_footer (outf) |
def | generate_mavlink_class (outf, msgs, xml) |
def | generate_message_ids (outf, msgs) |
def | generate_preamble (outf, msgs, args, xml) |
def | mavfmt (field) |
Variables | |
t = mavtemplate.MAVTemplate() | |
parse a MAVLink protocol XML file and generate a Node.js javascript module implementation Based on original work Copyright Andrew Tridgell 2011 Released under GNU GPL version 3 or later
def pymavlink.generator.mavgen_javascript.generate | ( | basename, | |
xml | |||
) |
generate complete javascript implementation
Definition at line 541 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_classes | ( | outf, | |
msgs | |||
) |
Generate the implementations of the classes representing MAVLink messages.
Definition at line 133 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_enums | ( | outf, | |
enums | |||
) |
Definition at line 117 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_footer | ( | outf | ) |
Definition at line 533 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_mavlink_class | ( | outf, | |
msgs, | |||
xml | |||
) |
Definition at line 237 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_message_ids | ( | outf, | |
msgs | |||
) |
Definition at line 126 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.generate_preamble | ( | outf, | |
msgs, | |||
args, | |||
xml | |||
) |
Definition at line 18 of file mavgen_javascript.py.
def pymavlink.generator.mavgen_javascript.mavfmt | ( | field | ) |
work out the struct format for a type
Definition at line 214 of file mavgen_javascript.py.
pymavlink.generator.mavgen_javascript.t = mavtemplate.MAVTemplate() |
Definition at line 16 of file mavgen_javascript.py.