Skip to content

Commit

Permalink
cosmetic: fix wrong comment
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>
  • Loading branch information
sasakisasaki committed Mar 10, 2025
1 parent 31875a9 commit d1f52ae
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 @@ -381,6 +381,7 @@ PathPointWithLaneId prepare_pre_goal(

// A function that assumes a circle with radius max_dist centered at the goal and returns
// the index of the point closest to the circumference of the circle and outside of it.
// If no such point is found, return the farthest point from the goal in the circle.
std::optional<size_t> find_index_out_of_goal_search_range(
const std::vector<autoware_internal_planning_msgs::msg::PathPointWithLaneId> & points,
const geometry_msgs::msg::Pose & goal, const int64_t goal_lane_id, const double max_dist)
Expand Down

0 comments on commit d1f52ae

Please sign in to comment.