Skip to content

Commit e27daf8

Browse files
Fix filterStopObjectsInPullOutLanes arguments order
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
1 parent 276f2b3 commit e27daf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

planning/behavior_path_start_planner_module/src/start_planner_module.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -965,12 +965,12 @@ std::vector<Pose> StartPlannerModule::searchPullOutStartPoseCandidates(
965965
planner_data_->parameters.backward_path_length + parameters_->max_back_distance;
966966

967967
const auto back_stop_objects_in_pull_out_lanes = filterStopObjectsInPullOutLanes(
968-
pull_out_lanes, start_pose.position, parameters_->th_moving_object_velocity,
969-
backward_path_length, 0);
968+
pull_out_lanes, start_pose.position, parameters_->th_moving_object_velocity, 0,
969+
backward_path_length);
970970

971971
const auto front_stop_objects_in_pull_out_lanes = filterStopObjectsInPullOutLanes(
972-
pull_out_lanes, start_pose.position, parameters_->th_moving_object_velocity, 0,
973-
std::numeric_limits<double>::max());
972+
pull_out_lanes, start_pose.position, parameters_->th_moving_object_velocity,
973+
std::numeric_limits<double>::max(), 0);
974974

975975
// Set the maximum backward distance less than the distance from the vehicle's base_link to
976976
// the lane's rearmost point to prevent lane departure.

0 commit comments

Comments
 (0)