MichaelGrupp / evo

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

Unwarp angles before plotting them. #601

Open ValerioMagnago opened 8 months ago

ValerioMagnago commented 8 months ago

Jumps in the angle plot make hard to compare different trajectory. In this commit we unwrap the angles before plotting them.

Before: hard_to_read

After: easier_to_read

MichaelGrupp commented 7 months ago

Please don't change the default and make this an option (for the function and in the CLI or settings). I would only see this as meaningful when dealing with pure 2d rotation, but also there someone might want to see the absolute values instead.

Also note that for the purpose of rotation comparison, the rotation error metrics in RPE/APE are generally more stable than anything that is based on Euler angles.