Skip to content

Commit

Permalink
Update planning/behavior_path_planner/src/path_utilities.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kosuke55 authored Dec 8, 2022
1 parent 004442e commit ab2536b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner/src/path_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ PathWithLaneId resamplePathWithSpline(
transformed_path.at(i) = path.points.at(i).point;
}

constexpr double epsilon = 0.1;
constexpr double epsilon = 0.2;
const auto has_almost_same_value = [&](const auto & vec, const auto x) {
if (vec.empty()) return false;
const auto has_close = [&](const auto v) { return std::abs(v - x) < epsilon; };
Expand Down

0 comments on commit ab2536b

Please sign in to comment.