File tree 1 file changed +2
-2
lines changed
planning/behavior_path_start_planner_module/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -675,13 +675,13 @@ bool StartPlannerModule::findPullOutPath(
675
675
PathWithLaneId StartPlannerModule::extractCollisionCheckSection (
676
676
const PullOutPath & path, const behavior_path_planner::PlannerType & planner_type)
677
677
{
678
- std::map<PlannerType, double > collision_check_distances = {
678
+ const std::map<PlannerType, double > collision_check_distances = {
679
679
{behavior_path_planner::PlannerType::SHIFT,
680
680
parameters_->shift_collision_check_distance_from_end },
681
681
{behavior_path_planner::PlannerType::GEOMETRIC,
682
682
parameters_->geometric_collision_check_distance_from_end }};
683
683
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];
685
685
686
686
PathWithLaneId combined_path;
687
687
for (const auto & partial_path : path.partial_paths ) {
You can’t perform that action at this time.
0 commit comments