Skip to content

Commit

Permalink
add debug message
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Sanchez <[email protected]>
  • Loading branch information
danielsanchezaran committed Mar 7, 2024
1 parent 887df43 commit ec5179b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Check warning on line 327 in planning/behavior_path_start_planner_module/src/start_planner_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_start_planner_module/src/start_planner_module.cpp#L327

Added line #L327 was not covered by tests

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);

Check warning on line 330 in planning/behavior_path_start_planner_module/src/start_planner_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_start_planner_module/src/start_planner_module.cpp#L329-L330

Added lines #L329 - L330 were not covered by tests

// Get the ego's overhang point closest to the centerline path and the gap between said point and
Expand Down

0 comments on commit ec5179b

Please sign in to comment.