Skip to content

Commit

Permalink
Update planning/autoware_path_generator/src/utils.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>

Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
  • Loading branch information
sasakisasaki and kosuke55 authored Feb 28, 2025
1 parent 5a2766e commit 808fb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/autoware_path_generator/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ bool is_path_valid(
{
const auto lanelets = extract_lanelets_from_path(refined_path, planner_data);
// std::any_of detects whether any point lies outside lanelets
bool has_points_outside_lanelet = std::any_of(
const bool has_points_outside_lanelet = std::any_of(
refined_path.points.begin(), refined_path.points.end(),
[&lanelets](const auto & refined_path_point) {
return !is_in_lanelets(refined_path_point.point.pose, lanelets);
Expand Down

0 comments on commit 808fb5d

Please sign in to comment.