uzh-rpg/rpg_trajectory_evaluation

IndexError: too many indices for array

Closed this issue · 5 comments

getting index error, attaching my input data

stamped_groundtruth.txt
stamped_traj_estimate.txt

hello, did u slove the problem? i met this too.

@johnjin404: please check your timestamps are same in the two files.

thank u very much for pointing out the problem, it works!

Hello, Im facing the same issue but in my case, the number of ground truth timestamps (9418) far exceed the number of traj estimate timestamps (1628). Could you please clarify exactly what you did?
I thought the script was supposed to temporally align the two..?

@johnjin404: please check your timestamps are same in the two files.

hello, I want to know how to make the timestamps same.The timestamp of trajactory estimated is saved by ros , it's different from groundtruth