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 Mar 9, 2025
1 parent 40d59bd commit 7ecfc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planning/autoware_path_generator/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ std::optional<PathWithLaneId> get_path_up_to_just_before_pre_goal(

// It seems we have a point outside of the circle whose center is the goal
const auto min_dist_out_of_circle_index = min_dist_out_of_circle_index_opt.value();
if (min_dist_out_of_circle_index == 0) return std::nullopt;

// Fill all the points up to just before the point outside of the circle
PathWithLaneId output;
Expand Down

0 comments on commit 7ecfc0f

Please sign in to comment.