Skip to content

Commit 998e11c

Browse files
Added unit
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
1 parent bf957b7 commit 998e11c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

localization/ndt_scan_matcher/config/ndt_scan_matcher.param.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
sensor_points:
15-
# Required distance of input sensor points.
15+
# Required distance of input sensor points. [m]
1616
# If the max distance of input sensor points is lower than this value, the scan matching will not be performed.
1717
required_distance: 10.0
1818

localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ void NDTScanMatcher::callback_sensor_points(
355355
}
356356
if (max_distance < param_.sensor_points.required_distance) {
357357
RCLCPP_WARN_STREAM(
358-
this->get_logger(),
359-
"Max distance of sensor points = " << std::fixed << std::setprecision(3) << max_distance
360-
<< " < " << param_.sensor_points.required_distance);
358+
this->get_logger(), "Max distance of sensor points = "
359+
<< std::fixed << std::setprecision(3) << max_distance << " [m] < "
360+
<< param_.sensor_points.required_distance << " [m]");
361361
return;
362362
}
363363

0 commit comments

Comments
 (0)