From 923c748379f4c6a3b0a17d7ece9dc687e9eceade Mon Sep 17 00:00:00 2001 From: Kenzo Lobos Tsunekawa Date: Fri, 15 Nov 2024 10:38:45 +0900 Subject: [PATCH] fix(mapping_based_calibrator): typo in the lidar-lidar calibrator (#211) fix: typo in the lidar-lidar calibrator Signed-off-by: Kenzo Lobos-Tsunekawa --- calibrators/mapping_based_calibrator/src/calibration_mapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibrators/mapping_based_calibrator/src/calibration_mapper.cpp b/calibrators/mapping_based_calibrator/src/calibration_mapper.cpp index b0b58501..5b93f129 100644 --- a/calibrators/mapping_based_calibrator/src/calibration_mapper.cpp +++ b/calibrators/mapping_based_calibrator/src/calibration_mapper.cpp @@ -461,7 +461,7 @@ void CalibrationMapper::checkKeyframeLost(Frame::Ptr keyframe) if ( std::abs(translation_angle_diff) > parameters_->lost_frame_max_angle_diff_ || - std::abs(translation_angle_diff) > parameters_->lost_frame_max_angle_diff_) { + std::abs(rotation_angle_diff) > parameters_->lost_frame_max_angle_diff_) { keyframe->lost_ = true; RCLCPP_WARN(