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 ea4915f commit 1e01b65
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;

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
Expand Down

0 comments on commit 1e01b65

Please sign in to comment.