From d711c6813fc440f798ca1f5881b0fc91d7172630 Mon Sep 17 00:00:00 2001 From: acki Date: Thu, 29 May 2025 18:15:10 -0400 Subject: [PATCH] log --- src/modelec_strat/src/navigation_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modelec_strat/src/navigation_helper.cpp b/src/modelec_strat/src/navigation_helper.cpp index 676adbb..2ed03b9 100644 --- a/src/modelec_strat/src/navigation_helper.cpp +++ b/src/modelec_strat/src/navigation_helper.cpp @@ -553,7 +553,7 @@ namespace Modelec if (last_was_close_enemy_) { - if (Point::distance(Point(msg->x, msg->y, msg->theta), Point(current_pos_->x, current_pos_->y, current_pos_->theta)) > 400) + if (Point::distance(Point(msg->x, msg->y, msg->theta), Point(current_pos_->x, current_pos_->y, current_pos_->theta)) > 700) { RCLCPP_INFO(node_->get_logger(), "Enemy was close try to replanning..."); if (Replan(false))