From 588366f469e259aa056f37c094489d53a6f5d56d Mon Sep 17 00:00:00 2001 From: acki Date: Thu, 29 May 2025 16:14:51 -0400 Subject: [PATCH] +1 --- src/modelec_strat/src/pathfinding.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modelec_strat/src/pathfinding.cpp b/src/modelec_strat/src/pathfinding.cpp index 90842a6..49b4214 100644 --- a/src/modelec_strat/src/pathfinding.cpp +++ b/src/modelec_strat/src/pathfinding.cpp @@ -529,6 +529,7 @@ namespace Modelec else { wp.theta = goal->theta; + wp.x += goal->x; } wp.id = id++; @@ -540,11 +541,6 @@ namespace Modelec waypoints.back().is_end = true; } - for (auto & wp : waypoints) - { - wp.x += 1; - } - return {FREE, waypoints}; }