Functions | |
def | add_data (t, msg, vars, flightmode) |
def | plotit (x, y, fields, colors=[]) |
def | process_file (filename, timeshift) |
Variables | |
action | |
args = parser.parse_args() | |
list | axes = [] |
bbox_inches | |
caps = set(re.findall(re_caps, f)) | |
col = colors[:] | |
list | colors = [ 'red', 'green', 'blue', 'orange', 'olive', 'black', 'grey', 'yellow', 'brown', 'darkcyan', 'cornflowerblue', 'darkmagenta', 'deeppink', 'darkred'] |
dictionary | colourmap |
default | |
dest | |
dpi | |
tuple | edge_colour = (0.1, 0.1, 0.1) |
f = filenames[fi] | |
f_out = open(args.output, 'w') | |
fext | |
list | field_types = [] |
list | fields = [] |
fig = plotit(x, y, lab, colors=col) | |
list | filenames = [] |
list | first_only = [] |
float | |
fname | |
help | |
highest_x = None | |
html = mpld3.fig_to_html(fig) | |
input = raw_input | |
lab = labels[fi*len(fields):(fi+1)*len(fields)] | |
labels = args.labels.split(',') | |
loc | |
lowest_x = None | |
metavar | |
list | modes = [] |
msg_types = set() | |
list | multiplier = [] |
nargs | |
None | |
output | |
parser = ArgumentParser(description=__doc__) | |
prop | |
re_caps = re.compile('[A-Z_][A-Z0-9_]+') | |
timeshift = args.timeshift | |
type | |
list | x = [] |
list | y = [] |
graph a MAVLink log file Andrew Tridgell August 2011
def pymavlink.tools.mavgraph.add_data | ( | t, | |
msg, | |||
vars, | |||
flightmode | |||
) |
add some data
Definition at line 222 of file mavgraph.py.
def pymavlink.tools.mavgraph.plotit | ( | x, | |
y, | |||
fields, | |||
colors = [] |
|||
) |
plot a set of graphs using date for x axis
Definition at line 61 of file mavgraph.py.
def pymavlink.tools.mavgraph.process_file | ( | filename, | |
timeshift | |||
) |
process one file
Definition at line 251 of file mavgraph.py.
pymavlink.tools.mavgraph.action |
Definition at line 158 of file mavgraph.py.
pymavlink.tools.mavgraph.args = parser.parse_args() |
Definition at line 175 of file mavgraph.py.
list pymavlink.tools.mavgraph.axes = [] |
Definition at line 210 of file mavgraph.py.
pymavlink.tools.mavgraph.bbox_inches |
Definition at line 317 of file mavgraph.py.
Definition at line 214 of file mavgraph.py.
pymavlink.tools.mavgraph.col = colors[:] |
Definition at line 296 of file mavgraph.py.
list pymavlink.tools.mavgraph.colors = [ 'red', 'green', 'blue', 'orange', 'olive', 'black', 'grey', 'yellow', 'brown', 'darkcyan', 'cornflowerblue', 'darkmagenta', 'deeppink', 'darkred'] |
Definition at line 204 of file mavgraph.py.
dictionary pymavlink.tools.mavgraph.colourmap |
Definition at line 29 of file mavgraph.py.
pymavlink.tools.mavgraph.default |
Definition at line 160 of file mavgraph.py.
pymavlink.tools.mavgraph.dest |
Definition at line 158 of file mavgraph.py.
pymavlink.tools.mavgraph.dpi |
Definition at line 317 of file mavgraph.py.
tuple pymavlink.tools.mavgraph.edge_colour = (0.1, 0.1, 0.1) |
Definition at line 56 of file mavgraph.py.
pymavlink.tools.mavgraph.f = filenames[fi] |
Definition at line 284 of file mavgraph.py.
pymavlink.tools.mavgraph.f_out = open(args.output, 'w') |
Definition at line 312 of file mavgraph.py.
pymavlink.tools.mavgraph.fext |
Definition at line 308 of file mavgraph.py.
list pymavlink.tools.mavgraph.field_types = [] |
Definition at line 202 of file mavgraph.py.
list pymavlink.tools.mavgraph.fields = [] |
Definition at line 194 of file mavgraph.py.
Definition at line 299 of file mavgraph.py.
list pymavlink.tools.mavgraph.filenames = [] |
Definition at line 193 of file mavgraph.py.
list pymavlink.tools.mavgraph.first_only = [] |
Definition at line 211 of file mavgraph.py.
pymavlink.tools.mavgraph.float |
Definition at line 173 of file mavgraph.py.
pymavlink.tools.mavgraph.fname |
Definition at line 308 of file mavgraph.py.
pymavlink.tools.mavgraph.help |
Definition at line 158 of file mavgraph.py.
pymavlink.tools.mavgraph.highest_x = None |
Definition at line 59 of file mavgraph.py.
pymavlink.tools.mavgraph.html = mpld3.fig_to_html(fig) |
Definition at line 311 of file mavgraph.py.
pymavlink.tools.mavgraph.input = raw_input |
Definition at line 25 of file mavgraph.py.
Definition at line 292 of file mavgraph.py.
pymavlink.tools.mavgraph.labels = args.labels.split(',') |
Definition at line 273 of file mavgraph.py.
pymavlink.tools.mavgraph.loc |
Definition at line 316 of file mavgraph.py.
pymavlink.tools.mavgraph.lowest_x = None |
Definition at line 58 of file mavgraph.py.
pymavlink.tools.mavgraph.metavar |
Definition at line 174 of file mavgraph.py.
list pymavlink.tools.mavgraph.modes = [] |
Definition at line 209 of file mavgraph.py.
pymavlink.tools.mavgraph.msg_types = set() |
Definition at line 200 of file mavgraph.py.
list pymavlink.tools.mavgraph.multiplier = [] |
Definition at line 201 of file mavgraph.py.
pymavlink.tools.mavgraph.nargs |
Definition at line 174 of file mavgraph.py.
pymavlink.tools.mavgraph.None |
Definition at line 160 of file mavgraph.py.
pymavlink.tools.mavgraph.output |
Definition at line 317 of file mavgraph.py.
pymavlink.tools.mavgraph.parser = ArgumentParser(description=__doc__) |
Definition at line 156 of file mavgraph.py.
pymavlink.tools.mavgraph.prop |
Definition at line 316 of file mavgraph.py.
Definition at line 212 of file mavgraph.py.
int pymavlink.tools.mavgraph.timeshift = args.timeshift |
Definition at line 281 of file mavgraph.py.
pymavlink.tools.mavgraph.type |
Definition at line 173 of file mavgraph.py.
list pymavlink.tools.mavgraph.x = [] |
Definition at line 207 of file mavgraph.py.
list pymavlink.tools.mavgraph.y = [] |
Definition at line 208 of file mavgraph.py.