Skip to content

Commit

Permalink
fix(goal_planner): set rederence path for candidate path (autowarefou…
Browse files Browse the repository at this point in the history
…ndation#5886)

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: karishma <karishma@interpl.ai>
  • Loading branch information
kosuke55 authored and karishma1911 committed Dec 19, 2023
1 parent 4f8fe8d commit 2a1ab2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsCandidate()
const BehaviorModuleOutput pull_over_output = planPullOverAsOutput();
output.modified_goal = pull_over_output.modified_goal;
output.path = std::make_shared<PathWithLaneId>(generateStopPath());
output.reference_path = getPreviousModuleOutput().reference_path;

const auto target_drivable_lanes = utils::getNonOverlappingExpandedLanes(
*output.path, generateDrivableLanes(), planner_data_->drivable_area_expansion_parameters);
Expand Down

0 comments on commit 2a1ab2e

Please sign in to comment.