Skip to content

Commit

Permalink
refactor(goal_planner): remove duplicated execution condition (autowa…
Browse files Browse the repository at this point in the history
…refoundation#6087)

Signed-off-by: kosuke55 <[email protected]>
Signed-off-by: karishma <[email protected]>
  • Loading branch information
kosuke55 authored and karishma1911 committed May 28, 2024
1 parent 86022c9 commit 2355fde
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,6 @@ bool GoalPlannerModule::isExecutionRequested() const
return false;
}

// if goal modification is not allowed
// 1) goal_pose is in current_lanes, plan path to the original fixed goal
// 2) goal_pose is NOT in current_lanes, do not execute goal_planner
if (!utils::isAllowedGoalModification(route_handler)) {
return goal_is_in_current_lanes;
}

// if (A) or (B) is met execute pull over
// (A) target lane is `road` and same to the current lanes
// (B) target lane is `road_shoulder` and neighboring to the current lanes
Expand Down

0 comments on commit 2355fde

Please sign in to comment.