Skip to content

Commit a661585

Browse files
authored
fix(goal_planner): set rederence path for candidate path (#5886)
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent 88dae03 commit a661585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsCandidate()
943943
const BehaviorModuleOutput pull_over_output = planPullOverAsOutput();
944944
output.modified_goal = pull_over_output.modified_goal;
945945
output.path = std::make_shared<PathWithLaneId>(generateStopPath());
946+
output.reference_path = getPreviousModuleOutput().reference_path;
946947

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

0 commit comments

Comments
 (0)