Skip to content

Commit 50bbff8

Browse files
Update planning/behavior_path_start_planner_module/src/start_planner_module.cpp
Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
1 parent 4e49a69 commit 50bbff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

planning/behavior_path_start_planner_module/src/start_planner_module.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -675,13 +675,13 @@ bool StartPlannerModule::findPullOutPath(
675675
PathWithLaneId StartPlannerModule::extractCollisionCheckSection(
676676
const PullOutPath & path, const behavior_path_planner::PlannerType & planner_type)
677677
{
678-
std::map<PlannerType, double> collision_check_distances = {
678+
const std::map<PlannerType, double> collision_check_distances = {
679679
{behavior_path_planner::PlannerType::SHIFT,
680680
parameters_->shift_collision_check_distance_from_end},
681681
{behavior_path_planner::PlannerType::GEOMETRIC,
682682
parameters_->geometric_collision_check_distance_from_end}};
683683

684-
double collision_check_distance_from_end = collision_check_distances[planner_type];
684+
const double collision_check_distance_from_end = collision_check_distances[planner_type];
685685

686686
PathWithLaneId combined_path;
687687
for (const auto & partial_path : path.partial_paths) {

0 commit comments

Comments
 (0)