From 1e01b65c7496983d929d566965ce37d6edecd55d Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Thu, 7 Mar 2024 11:55:26 +0900 Subject: [PATCH] add debug message Signed-off-by: Daniel Sanchez --- .../src/start_planner_module.cpp | 1 + 1 file changed, 1 insertion(+) 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 8b3e5932fce0c..88a33d05f4ea7 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 @@ -326,6 +326,7 @@ bool StartPlannerModule::isPreventingRearVehicleFromPassingThrough() const centerline_path.points, start_pose_point_msg, start_pose_nearest_segment_index.value()); if (std::isnan(starting_pose_lateral_offset)) return false; + RCLCPP_DEBUG(getLogger(), "starting pose lateral offset: %f", starting_pose_lateral_offset); const bool ego_is_merging_from_the_left = (starting_pose_lateral_offset > 0.0); // Get the ego's overhang point closest to the centerline path and the gap between said point and