Functions | |
def | align |
def | plot_traj |
Variables | |
tuple | args = parser.parse_args() |
tuple | ax = fig.add_subplot(111) |
tuple | fig = plt.figure() |
tuple | file = open(args.save_associations,"w") |
tuple | first_list = associate.read_file_list(args.first_file) |
tuple | first_stamps = first_list.keys() |
tuple | first_xyz = numpy.matrix([[float(value) for value in first_list[a][0:3]] for a,b in matches]) |
tuple | first_xyz_full = numpy.matrix([[float(value) for value in first_list[b][0:3]] for b in first_stamps]) |
string | label = "difference" |
tuple | matches = associate.associate(first_list, second_list,float(args.offset),float(args.max_difference)) |
tuple | parser |
tuple | second_list = associate.read_file_list(args.second_file) |
tuple | second_stamps = second_list.keys() |
tuple | second_xyz = numpy.matrix([[float(value)*float(args.scale) for value in second_list[b][0:3]] for a,b in matches]) |
second_xyz_aligned = rot*second_xyz+trans | |
tuple | second_xyz_full = numpy.matrix([[float(value)*float(args.scale) for value in second_list[b][0:3]] for b in second_stamps]) |
second_xyz_full_aligned = rot*second_xyz_full+trans |
def evaluate_ate.align | ( | model, | |
data | |||
) |
Definition at line 11 of file evaluate_ate.py.
def evaluate_ate.plot_traj | ( | ax, | |
stamps, | |||
traj, | |||
style, | |||
color, | |||
label | |||
) |
Definition at line 33 of file evaluate_ate.py.
tuple evaluate_ate::args = parser.parse_args() |
Definition at line 67 of file evaluate_ate.py.
tuple evaluate_ate::ax = fig.add_subplot(111) |
Definition at line 121 of file evaluate_ate.py.
tuple evaluate_ate::fig = plt.figure() |
Definition at line 120 of file evaluate_ate.py.
tuple evaluate_ate::file = open(args.save_associations,"w") |
Definition at line 105 of file evaluate_ate.py.
tuple evaluate_ate::first_list = associate.read_file_list(args.first_file) |
Definition at line 69 of file evaluate_ate.py.
tuple evaluate_ate::first_stamps = first_list.keys() |
Definition at line 83 of file evaluate_ate.py.
tuple evaluate_ate::first_xyz = numpy.matrix([[float(value) for value in first_list[a][0:3]] for a,b in matches]) |
Definition at line 77 of file evaluate_ate.py.
tuple evaluate_ate::first_xyz_full = numpy.matrix([[float(value) for value in first_list[b][0:3]] for b in first_stamps]) |
Definition at line 85 of file evaluate_ate.py.
string evaluate_ate::label = "difference" |
Definition at line 125 of file evaluate_ate.py.
tuple evaluate_ate::matches = associate.associate(first_list, second_list,float(args.offset),float(args.max_difference)) |
Definition at line 72 of file evaluate_ate.py.
tuple evaluate_ate::parser |
00001 argparse.ArgumentParser(description=''' 00002 This script computes the absolute trajectory error from the ground truth trajectory and the estimated trajectory. 00003 ''')
Definition at line 55 of file evaluate_ate.py.
tuple evaluate_ate::second_list = associate.read_file_list(args.second_file) |
Definition at line 70 of file evaluate_ate.py.
tuple evaluate_ate::second_stamps = second_list.keys() |
Definition at line 87 of file evaluate_ate.py.
tuple evaluate_ate::second_xyz = numpy.matrix([[float(value)*float(args.scale) for value in second_list[b][0:3]] for a,b in matches]) |
Definition at line 78 of file evaluate_ate.py.
evaluate_ate::second_xyz_aligned = rot*second_xyz+trans |
Definition at line 81 of file evaluate_ate.py.
tuple evaluate_ate::second_xyz_full = numpy.matrix([[float(value)*float(args.scale) for value in second_list[b][0:3]] for b in second_stamps]) |
Definition at line 89 of file evaluate_ate.py.
evaluate_ate::second_xyz_full_aligned = rot*second_xyz_full+trans |
Definition at line 90 of file evaluate_ate.py.