Functions | Variables
pymavlink.generator.mavtestgen Namespace Reference

Functions

def gen_value (f, i, language)
 
def generate_methods_C (outf, msgs)
 
def generate_methods_python (outf, msgs)
 

Variables

 args = parser.parse_args()
 
 default
 
 e
 
list enums = []
 
 help
 
 m
 
 metavar
 
list msgs = []
 
 nargs
 
 outf = open(args.output + '.py', "w")
 
 parser = ArgumentParser(description="This tool generate MAVLink test suite")
 

Detailed Description

generate a MAVLink test suite

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

Function Documentation

def pymavlink.generator.mavtestgen.gen_value (   f,
  i,
  language 
)
generate a test value for the ith field of a message

Definition at line 17 of file mavtestgen.py.

def pymavlink.generator.mavtestgen.generate_methods_C (   outf,
  msgs 
)

Definition at line 82 of file mavtestgen.py.

def pymavlink.generator.mavtestgen.generate_methods_python (   outf,
  msgs 
)

Definition at line 56 of file mavtestgen.py.

Variable Documentation

pymavlink.generator.mavtestgen.args = parser.parse_args()

Definition at line 114 of file mavtestgen.py.

pymavlink.generator.mavtestgen.default

Definition at line 112 of file mavtestgen.py.

pymavlink.generator.mavtestgen.e

Definition at line 120 of file mavtestgen.py.

list pymavlink.generator.mavtestgen.enums = []

Definition at line 117 of file mavtestgen.py.

pymavlink.generator.mavtestgen.help

Definition at line 112 of file mavtestgen.py.

pymavlink.generator.mavtestgen.m

Definition at line 120 of file mavtestgen.py.

pymavlink.generator.mavtestgen.metavar

Definition at line 113 of file mavtestgen.py.

list pymavlink.generator.mavtestgen.msgs = []

Definition at line 116 of file mavtestgen.py.

pymavlink.generator.mavtestgen.nargs

Definition at line 113 of file mavtestgen.py.

pymavlink.generator.mavtestgen.outf = open(args.output + '.py', "w")

Definition at line 131 of file mavtestgen.py.

pymavlink.generator.mavtestgen.parser = ArgumentParser(description="This tool generate MAVLink test suite")

Definition at line 111 of file mavtestgen.py.



mavlink
Author(s): Lorenz Meier
autogenerated on Sun Apr 7 2019 02:06:02