We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24c89af commit 8ee7e7aCopy full SHA for 8ee7e7a
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