MichaelGrupp / evo

Python package for the evaluation of odometry and SLAM
https://michaelgrupp.github.io/evo/
GNU General Public License v3.0
3.38k stars 746 forks source link

evo_rpe and evo_ape reads EuRoC data with TUM format loader #402

Closed Cryptum169 closed 3 years ago

Cryptum169 commented 3 years ago

Description: evo_rpe and evo_ape reads EuRoC format files with TUM trajectory reader

https://github.com/MichaelGrupp/evo/blob/ffda6b4b91a2c5739f0d39cd3491ed5f4011d499/evo/common_ape_rpe.py#L50-L53

Command: For simplicity, ground truth file were passed to both argument.

evo_rpe euroc MH01_gt.csv MH01_gt.csv

Console output:

[ERROR] TUM trajectory files must have 8 entries per row and no trailing delimiter at the end of the rows (space)

Additional files: Please attach all the files needed to reproduce the error. MH01_gt.csv (First 20 lines of EuRoC MH01 sequence ground truth estimate)

Please give also the following information:

MichaelGrupp commented 3 years ago

This is expected behavior because the euroc file format is only useful for the groundtruth.

See here for more details: https://github.com/MichaelGrupp/evo/wiki/Formats#euroc---euroc-mav-dataset-format-also-used-in-tum-vi-dataset

evo_rpe euroc MH01_gt.csv MH01_gt.csv

I don't believe that comparison of a groundtruth file with itself is a common use case that would justify a change.

Cryptum169 commented 3 years ago

I see, I jumped to conclusions when I saw a TUM error popped up when euroc option was given, my apologies.

MichaelGrupp commented 3 years ago

No problem, this might be confusing the first time :slightly_smiling_face: