-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get rotation error? #62
Comments
Hi, this can be done with the
Formulas for this are documented in the Jupyter notebook: https://github.com/MichaelGrupp/evo/blob/master/notebooks/metrics.py_API_Documentation.ipynb An interesting mathematical property of these rotation metrics is that the values only differ by scale :) In my opinion it makes usually more sense to measure the relative angular error than the absolute one, for example the angular drift per meter: |
Thanks a lot, dear author. Another question is, the difference between absolute pose error and relative pose error in this app. And why do you think it makes usually more sense to measure the relative angular error than the absolute one. |
Take a look at the documentation (Wiki, Jupyter notebooks). The concept of absolute and relative error is also covered in papers like:
|
Thanks. I used "evo_ape euroc -r rot_part" command to calculate the rotate errors. But the results are unexpected. Neither the result of ORB_SLAM2 nor my own result was right. The RMSE of them are more than 70 degrees. I think the format of my file may be wrong. But I'm just following the TUM format, the same as the ORB_SLAM's. Attached is the result of ORB_SLAM, would you please try it? This is the ORB_SLAM's result of EuRoC V101 dataset: |
This is probably related to #23 The different coordinate frames of groundtruth and SLAM (IMU, camera) are problematic if you do absolute rotation comparisons without properly transforming everything into a common frame beforehand. One of the reasons why relative error is better in that case. |
@MichaelGrupp Dear author : I use "evo_rpe tum data.tum clean.tum -a --delta 1.0 --delta_unit m --pose_relation angle_deg -p" to computer angular drift per meter ,but the result id not unexpected: |
Dear author,
Through command "evo_ape euroc", i can get the translation error of my own trajectory with ground-truth. But what about rotation error, how can i get it. Can you give me a hint?
Thanks a lot.
The text was updated successfully, but these errors were encountered: