Skip to content

Commit

Permalink
fix kitti rotation error unit (#224)
Browse files Browse the repository at this point in the history
* fix kitti rotation error unit

* fix kitti rotation error unit

* fix kitti rotation error unit

---------

Co-authored-by: yuepan <Yue Pan>
Co-authored-by: Yue Pan <[email protected]>
  • Loading branch information
YuePanEdward and Yue Pan authored Sep 21, 2023
1 parent d3bb87c commit 523fd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/kiss_icp/metrics/Metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ std::tuple<float, float> SeqError(const std::vector<Eigen::Matrix4d> &poses_gt,
}

double avg_trans_error = 100.0 * (t_err / static_cast<double>(err.size()));
double avg_rot_error = 100.0 * (r_err / static_cast<double>(err.size())) / 3.14 * 180.0;
double avg_rot_error = (r_err / static_cast<double>(err.size())) / 3.14 * 180.0;

return std::make_tuple(avg_trans_error, avg_rot_error);
}
Expand Down

0 comments on commit 523fd58

Please sign in to comment.