Skip to content

Commit

Permalink
fix(route_handler): fix threshold for removing overlapping points (#1015
Browse files Browse the repository at this point in the history
)

* fix(route_handler): fix threshold for removing overlapping points

* fix

(cherry picked from commit 733bca4)
  • Loading branch information
h-ohta authored and mergify[bot] committed Nov 15, 2023
1 parent 3c22be0 commit 6ef8e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/route_handler/src/route_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ PathWithLaneId removeOverlappingPoints(const PathWithLaneId & input_path)
continue;
}

constexpr double min_dist = 0.001;
constexpr double min_dist = 0.1;
if (
tier4_autoware_utils::calcDistance3d(filtered_path.points.back().point, pt.point) <
min_dist) {
Expand Down

0 comments on commit 6ef8e75

Please sign in to comment.