From 523fd58babb9e12a3883a30758f22e071555f7d5 Mon Sep 17 00:00:00 2001 From: Yue Pan Date: Thu, 21 Sep 2023 14:09:27 +0200 Subject: [PATCH] fix kitti rotation error unit (#224) * fix kitti rotation error unit * fix kitti rotation error unit * fix kitti rotation error unit --------- Co-authored-by: yuepan Co-authored-by: Yue Pan --- cpp/kiss_icp/metrics/Metrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/kiss_icp/metrics/Metrics.cpp b/cpp/kiss_icp/metrics/Metrics.cpp index 7b8a32ac..b3210f5f 100644 --- a/cpp/kiss_icp/metrics/Metrics.cpp +++ b/cpp/kiss_icp/metrics/Metrics.cpp @@ -149,7 +149,7 @@ std::tuple SeqError(const std::vector &poses_gt, } double avg_trans_error = 100.0 * (t_err / static_cast(err.size())); - double avg_rot_error = 100.0 * (r_err / static_cast(err.size())) / 3.14 * 180.0; + double avg_rot_error = (r_err / static_cast(err.size())) / 3.14 * 180.0; return std::make_tuple(avg_trans_error, avg_rot_error); }