We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71755e1 commit 47d64b6Copy full SHA for 47d64b6
planning/obstacle_cruise_planner/src/node.cpp
@@ -640,7 +640,7 @@ std::vector<Obstacle> ObstacleCruisePlannerNode::convertToObstacles(
640
}
641
642
// 3. Check if rough lateral distance is smaller than the threshold
643
- double lat_dist_from_obstacle_to_traj =
+ const double lat_dist_from_obstacle_to_traj =
644
motion_utils::calcLateralOffset(traj_points, current_obstacle_pose.pose.position);
645
646
const double min_lat_dist_to_traj_poly = [&]() {
0 commit comments