Skip to content

Commit

Permalink
Update planning/behavior_path_start_planner_module/src/start_planner_…
Browse files Browse the repository at this point in the history
…module.cpp

Co-authored-by: Kosuke Takeuchi <[email protected]>
  • Loading branch information
kyoichi-sugahara and kosuke55 authored Jan 30, 2024
1 parent 4e49a69 commit 50bbff8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -675,13 +675,13 @@ bool StartPlannerModule::findPullOutPath(
PathWithLaneId StartPlannerModule::extractCollisionCheckSection(
const PullOutPath & path, const behavior_path_planner::PlannerType & planner_type)
{
std::map<PlannerType, double> collision_check_distances = {
const std::map<PlannerType, double> collision_check_distances = {
{behavior_path_planner::PlannerType::SHIFT,
parameters_->shift_collision_check_distance_from_end},
{behavior_path_planner::PlannerType::GEOMETRIC,
parameters_->geometric_collision_check_distance_from_end}};

double collision_check_distance_from_end = collision_check_distances[planner_type];
const double collision_check_distance_from_end = collision_check_distances[planner_type];

PathWithLaneId combined_path;
for (const auto & partial_path : path.partial_paths) {
Expand Down

0 comments on commit 50bbff8

Please sign in to comment.