From 32a3d86a446aa62fdd7ad8f4bbc602e01a783c06 Mon Sep 17 00:00:00 2001 From: Yamato Ando Date: Wed, 20 Sep 2023 19:11:19 +0900 Subject: [PATCH] fix(ndt_scan_matcher): pose_array_interpolator (#5053) Signed-off-by: yamato-ando Co-authored-by: yamato-ando --- localization/ndt_scan_matcher/src/pose_array_interpolator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/localization/ndt_scan_matcher/src/pose_array_interpolator.cpp b/localization/ndt_scan_matcher/src/pose_array_interpolator.cpp index 59ecedc18cb5a..f09b71523e804 100644 --- a/localization/ndt_scan_matcher/src/pose_array_interpolator.cpp +++ b/localization/ndt_scan_matcher/src/pose_array_interpolator.cpp @@ -51,6 +51,7 @@ PoseArrayInterpolator::PoseArrayInterpolator( // all validations must be true if (!(is_old_pose_valid && is_new_pose_valid && is_pose_diff_valid)) { + success_ = false; RCLCPP_WARN(logger_, "Validation error."); } }