-
Notifications
You must be signed in to change notification settings - Fork 364
Description
I got a bug that my stamped_est_gt_matched.txt file is empty, when I try to evaluate the result I got from VINS-FUSION and VINS-MONO. Terminal shows :
UserWarning: loadtxt: Empty input file: "plot_folder/saved_results/traj_est/stamped_est_gt_matches.txt"
matches = np.loadtxt(fn_matches, dtype=int)
Saved matching results to plot_folder/saved_results/traj_est/stamped_est_gt_matches.txt.
Empty estimate file.
Loading data failed.
Trials 0 fails, will not count.
===> MulTrajError: summarized 0 trajectories.
- Successs indices: []
No success runs, not plotting.
Plotting absolute error for one trajectory...
Traceback (most recent call last):
File "catkin_rpg_trajectory_evaluation/src/rpg_trajectory_evaluation/scripts/analyze_trajectory_single.py", line 176, in
pu.plot_trajectory_top(ax, plot_traj.p_es_aligned, 'b', 'Estimate')
NameError: name 'plot_traj' is not defined
I have also checked that my stamped_groundtruth.txt and stamped_traj_estimat.txt, the format is right that contains timestamp, translation vector and quaternion.