Skip to content

Commit

Permalink
feat(goal_planner): exclude goals located laterally in no_parking_are…
Browse files Browse the repository at this point in the history
…as (autowarefoundation#6095)

Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 authored and karishma1911 committed Jun 3, 2024
1 parent 79caa76 commit be2190c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,13 @@ GoalCandidates GoalSearcher::search()
transformVector(vehicle_footprint_, tier4_autoware_utils::pose2transform(search_pose));

if (isInAreas(transformed_vehicle_footprint, getNoParkingAreaPolygons(pull_over_lanes))) {
continue;
// break here to exclude goals located laterally in no_parking_areas
break;
}

if (isInAreas(transformed_vehicle_footprint, getNoStoppingAreaPolygons(pull_over_lanes))) {
continue;
// break here to exclude goals located laterally in no_stopping_areas
break;
}

if (LaneDepartureChecker::isOutOfLane(lanes, transformed_vehicle_footprint)) {
Expand Down

0 comments on commit be2190c

Please sign in to comment.