Skip to content

Commit 8929afa

Browse files
author
PostRed
committed
fix ok transformation
1 parent 844449d commit 8929afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/localization/src/localization_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void LocalizationNode::makeLocalizationTick() {
272272
const double dy = std::abs(tf_icp_pose.pos.y);
273273
const double dxy = std::hypot(dx, dy);
274274

275-
if (dxy > 1.0) {
275+
if (dxy > 2.0) {
276276
RCLCPP_WARN(
277277
this->get_logger(),
278278
"ICP correction too large: Δx = %.3f, Δy = %.3f (total %.3f m) — ignoring update.",

0 commit comments

Comments
 (0)