Skip to content

Commit

Permalink
make const
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Sanchez <[email protected]>
  • Loading branch information
danielsanchezaran committed Feb 5, 2024
1 parent 71755e1 commit 47d64b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/obstacle_cruise_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ std::vector<Obstacle> ObstacleCruisePlannerNode::convertToObstacles(
}

// 3. Check if rough lateral distance is smaller than the threshold
double lat_dist_from_obstacle_to_traj =
const double lat_dist_from_obstacle_to_traj =
motion_utils::calcLateralOffset(traj_points, current_obstacle_pose.pose.position);

const double min_lat_dist_to_traj_poly = [&]() {
Expand Down

0 comments on commit 47d64b6

Please sign in to comment.