From 7b40ad5c912652103a6eac283f8acc4cf982cf45 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Tue, 5 Mar 2024 14:20:06 +0900 Subject: [PATCH] remove prints Signed-off-by: Daniel Sanchez --- .../src/start_planner_module.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/planning/behavior_path_start_planner_module/src/start_planner_module.cpp b/planning/behavior_path_start_planner_module/src/start_planner_module.cpp index c8b90d8b2eec2..106ec70c03369 100644 --- a/planning/behavior_path_start_planner_module/src/start_planner_module.cpp +++ b/planning/behavior_path_start_planner_module/src/start_planner_module.cpp @@ -366,9 +366,6 @@ bool StartPlannerModule::isPreventingRearVehicleFromCrossing() const ? std::abs(left_dist_to_lane_border) : std::abs(right_dist_to_lane_border); - std::cerr << "smallest_lateral_offset " << smallest_lateral_offset << "\n"; - std::cerr << "remaining gap " << gap_between_ego_and_lane_border << "\n"; - // Get the lanelets that will be queried for target objects const auto relevant_lanelets = std::invoke([&]() -> std::optional { lanelet::Lanelet closest_lanelet; @@ -386,7 +383,6 @@ bool StartPlannerModule::isPreventingRearVehicleFromCrossing() const if (!relevant_lanelets) return false; // filtering objects with velocity, position and class - std::cerr << "Filter objects \n"; const auto filtered_objects = utils::path_safety_checker::filterObjects( dynamic_object, route_handler, relevant_lanelets.value(), current_pose.position, objects_filtering_params_); @@ -415,12 +411,6 @@ bool StartPlannerModule::isPreventingRearVehicleFromCrossing() const return closest_object_width; }); if (!closest_object_width) return false; - - std::cerr << "Dims \n"; - std::cerr << "target_object_itr->shape.dimensions.y " << closest_object_width.value() << "\n"; - std::cerr << "gap_between_ego_and_lane_border " << gap_between_ego_and_lane_border << "\n"; - std::cerr << "parameters_->extra_width_margin_for_rear_obstacle " - << parameters_->extra_width_margin_for_rear_obstacle << "\n"; // Decide if the closest object does not fit in the gap left by the ego vehicle. return closest_object_width.value() + parameters_->extra_width_margin_for_rear_obstacle > gap_between_ego_and_lane_border;