Classes | |
class | Error |
Functions | |
def | check_file_len |
def | draw_edges |
def | onclick |
def | real_time_plot |
def | remove_edges |
def | rm_ax |
Variables | |
tuple | args = parser.parse_args() |
tuple | ax = Axes3D(fig) |
list | ax_edges = [] |
ax_gt = None | |
ax_odom = None | |
ax_vertices = None | |
string | default = "." |
edges_shown = True | |
tuple | fig = pylab.figure(1) |
global_dir = args.d | |
string | graph_edges_file = "" |
graph_vertices_file = args.v | |
ground_truth_file = args.gt | |
list | gt_data = [] |
string | help = 'directory with the files: gt.txt (optional), odom.txt, graph_vertices.txt, graph_edges.txt' |
tuple | img = imread("/home/plnegre/Downloads/mosaic1.jpg") |
legend_edited = False | |
string | lock_file = "" |
tuple | parser |
int | plot_dim = 3 |
tuple | timer = fig.canvas.new_timer(2500) |
visual_odometry_file = args.o |
def graph_viewer.check_file_len | ( | file | ) |
Check if the file length is > 0
Definition at line 34 of file graph_viewer.py.
def graph_viewer.draw_edges | ( | ) |
Draw the edges
Definition at line 131 of file graph_viewer.py.
def graph_viewer.onclick | ( | event | ) |
Handle the click event
Definition at line 219 of file graph_viewer.py.
def graph_viewer.real_time_plot | ( | gt_file, | |
odom_file, | |||
graph_vertices_file | |||
) |
Function to plot the data saved into the files in real time
Definition at line 49 of file graph_viewer.py.
def graph_viewer.remove_edges | ( | ) |
Remove the edges
Definition at line 206 of file graph_viewer.py.
def graph_viewer.rm_ax | ( | ax_id | ) |
Remove the axes lines
Definition at line 41 of file graph_viewer.py.
tuple graph_viewer::args = parser.parse_args() |
Definition at line 254 of file graph_viewer.py.
tuple graph_viewer::ax = Axes3D(fig) |
Definition at line 290 of file graph_viewer.py.
list graph_viewer::ax_edges = [] |
Definition at line 25 of file graph_viewer.py.
graph_viewer::ax_gt = None |
Definition at line 22 of file graph_viewer.py.
graph_viewer::ax_odom = None |
Definition at line 23 of file graph_viewer.py.
graph_viewer::ax_vertices = None |
Definition at line 24 of file graph_viewer.py.
int graph_viewer::default = "." |
Definition at line 238 of file graph_viewer.py.
graph_viewer::edges_shown = True |
Definition at line 26 of file graph_viewer.py.
tuple graph_viewer::fig = pylab.figure(1) |
Definition at line 288 of file graph_viewer.py.
Definition at line 267 of file graph_viewer.py.
string graph_viewer::graph_edges_file = "" |
Definition at line 20 of file graph_viewer.py.
string graph_viewer::graph_vertices_file = args.v |
Definition at line 270 of file graph_viewer.py.
string graph_viewer::ground_truth_file = args.gt |
Definition at line 268 of file graph_viewer.py.
list graph_viewer::gt_data = [] |
Definition at line 27 of file graph_viewer.py.
string graph_viewer::help = 'directory with the files: gt.txt (optional), odom.txt, graph_vertices.txt, graph_edges.txt' |
Definition at line 237 of file graph_viewer.py.
tuple graph_viewer::img = imread("/home/plnegre/Downloads/mosaic1.jpg") |
Definition at line 294 of file graph_viewer.py.
graph_viewer::legend_edited = False |
Definition at line 21 of file graph_viewer.py.
tuple graph_viewer::lock_file = "" |
Definition at line 19 of file graph_viewer.py.
tuple graph_viewer::parser |
00001 argparse.ArgumentParser( 00002 description='Plot 3D graphics of odometry data files in real time.', 00003 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
Definition at line 233 of file graph_viewer.py.
Definition at line 28 of file graph_viewer.py.
tuple graph_viewer::timer = fig.canvas.new_timer(2500) |
Definition at line 309 of file graph_viewer.py.
string graph_viewer::visual_odometry_file = args.o |
Definition at line 269 of file graph_viewer.py.