Skip to content

Commit

Permalink
revert stop path(2)
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin committed Jan 27, 2025
1 parent a5d9151 commit b31d608
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,11 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsCandidate(
{
universe_utils::ScopedTimeTrack st(__func__, *time_keeper_);

// if pull over path candidates generation is not finished, use previous module output
if (context_data.lane_parking_response.pull_over_path_candidates.empty()) {
return getPreviousModuleOutput();
}

BehaviorModuleOutput output{};
const BehaviorModuleOutput pull_over_output = planPullOverAsOutput(context_data);
output.modified_goal = pull_over_output.modified_goal;
Expand Down

0 comments on commit b31d608

Please sign in to comment.