Skip to content

Commit

Permalink
Fix the criteria for replanning (#405)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <[email protected]>
  • Loading branch information
mxgrey authored Feb 21, 2025
1 parent e4d1d87 commit 0eb5bee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ void EasyCommandHandle::follow_new_path(
{
const double dist =
(*l.location() - wp.position().block<2, 1>(0, 0)).norm();
if (dist <= nav_params->max_merge_waypoint_distance)
if (dist <= nav_params->max_merge_lane_distance)
{
found_connection = true;
i0 = 0;
Expand Down

0 comments on commit 0eb5bee

Please sign in to comment.