Skip to content

Commit

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

fix(route_handler): fix threshold for removing overlapping points (#1015)

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

* fix

(cherry picked from commit 733bca4)

Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp>
  • Loading branch information
mergify[bot] and h-ohta authored Nov 22, 2023
1 parent 3c22be0 commit a2cbf8c
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 a2cbf8c

Please sign in to comment.