Skip to content

Commit

Permalink
fix(lane_change): fix terminal stop distance
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Oct 24, 2023
1 parent 0f9eb8a commit 4ca48aa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,9 @@ TurnSignalInfo NormalLaneChange::updateOutputTurnSignal()

lanelet::ConstLanelets NormalLaneChange::getCurrentLanes() const
{
return utils::getCurrentLanesFromPath(prev_module_path_, planner_data_);
return utils::getCurrentLanes(
planner_data_, lane_change_parameters_->backward_lane_length,
planner_data_->parameters.forward_path_length);
}

lanelet::ConstLanelets NormalLaneChange::getLaneChangeLanes(
Expand Down

0 comments on commit 4ca48aa

Please sign in to comment.