From b86d3d8bc59502fbfa5b4bd14e30e0550bf939e0 Mon Sep 17 00:00:00 2001 From: Fumiya Watanabe Date: Thu, 29 Jun 2023 14:39:50 +0900 Subject: [PATCH] fix(behavior_path_planner): use previous path for get current lane (#4094) Signed-off-by: Fumiya Watanabe --- .../src/scene_module/lane_change/normal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp b/planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp index 20f6aee241115..77f2b9b842166 100644 --- a/planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp +++ b/planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp @@ -284,7 +284,7 @@ TurnSignalInfo NormalLaneChange::updateOutputTurnSignal() lanelet::ConstLanelets NormalLaneChange::getCurrentLanes() const { - return utils::getCurrentLanesFromPath(prev_module_reference_path_, planner_data_); + return utils::getCurrentLanesFromPath(prev_module_path_, planner_data_); } lanelet::ConstLanelets NormalLaneChange::getLaneChangeLanes(