Skip to content

Commit

Permalink
Update planning/behavior_path_lane_change_module/src/utils/utils.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: mkquda <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 and mkquda authored Oct 11, 2024
1 parent a0aa598 commit 61ac7de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ double get_min_dist_to_current_lanes_obj(
const auto p_fp = tier4_autoware_utils::toMsg(polygon_p.to_3d());
const auto lateral_fp = motion_utils::calcLateralOffset(path_points, p_fp);

// ignore if the point is around the ego path
// ignore if the point is not on ego path
if (std::abs(lateral_fp) > (bpp_param.vehicle_width / 2)) {
continue;
}
Expand Down

0 comments on commit 61ac7de

Please sign in to comment.