Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4157d00

Browse files
committedMar 24, 2025·
fix build
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent 1fad3cc commit 4157d00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1103,8 +1103,9 @@ void sortPullOverPaths(
11031103
continue;
11041104
}
11051105
// calculate the precise distance to object footprint from the path footprint
1106-
const double distance = utils::path_safety_checker::calculate_distance_to_objects_from_path(
1107-
path.parking_path(), target_objects, planner_data->parameters, true);
1106+
const double distance =
1107+
utils::path_safety_checker::shortest_distance_from_ego_footprint_to_objects_on_path(
1108+
path.parking_path(), target_objects, planner_data->parameters, true);
11081109

11091110
const auto it = std::lower_bound(
11101111
margins_with_zero.begin(), margins_with_zero.end(), distance, std::greater<double>());

0 commit comments

Comments
 (0)
Please sign in to comment.