Skip to content

Commit

Permalink
using reference
Browse files Browse the repository at this point in the history
Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara committed May 31, 2024
1 parent 1dfe8b9 commit 97d1172
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ PredictedObjects StartPlannerModule::filterStopObjectsInPullOutLanes(

bool StartPlannerModule::hasReachedFreespaceEnd() const
{
const auto current_pose = planner_data_->self_odometry->pose.pose;
const auto & current_pose = planner_data_->self_odometry->pose.pose;
return tier4_autoware_utils::calcDistance2d(current_pose, status_.pull_out_path.end_pose) <
parameters_->th_arrived_distance;
}
Expand Down

0 comments on commit 97d1172

Please sign in to comment.