MichaelGrupp / evo

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

EVO tool is not aligning the origin of two trajectories ground truth trajectory and slam trajectory. #546

Closed sagardhatrak closed 1 year ago

sagardhatrak commented 1 year ago

Description:

Command: evo_ape tum rtabmap_gt.txt rtabmap_slam.txt -va --plot --plot_mode xy --align_origin

replace this line with the command(s) you used


**Console output:**
``
![image](https://user-images.githubusercontent.com/19165811/236217042-0a51f2bc-dca3-4bde-ac7c-35a5d2a163b2.png)
`

# remove this line and paste your console output HERE - no screenshots please

Additional files: Please attach all the files needed to reproduce the error.

Please give also the following information:

remove this line and paste your config HERE

sagardhatrak commented 1 year ago

evo_ape

MichaelGrupp commented 1 year ago

You are passing also the flag to do a full alignment with -va, which is short for -v -a, which is itself the short form of --verbose --align. Just use -v if you don't want the full alignment.

sagardhatrak commented 1 year ago

Thank you for guidance. The following command has aligned the origin: evo_ape tum rtabmap_gt.txt rtabmap_slam.txt --plot --plot_mode xy --align_origin

But, not able to apply full alignment. Does --align_origin includes full alignment? How can we do full alignment with --align_origin? --align_origin and --align both are not working simultaneously (not aligning origin).

MichaelGrupp commented 1 year ago

They can't be done simultaneously. Either the origin is aligned or there is a global alignment, they are two different things.

sagardhatrak commented 1 year ago

Ok, Thanks.