Skip to content

Empty estimate file  #47

@yuchenweng-private

Description

@yuchenweng-private

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions