Skip to content

Commit

Permalink
Merge pull request #1874 from tier4/sync-awf-latest
Browse files Browse the repository at this point in the history
chore: sync awf-latest
  • Loading branch information
tier4-autoware-public-bot[bot] authored Feb 26, 2025
2 parents fa9d53c + 3677bda commit 9bef480
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ std::optional<std::pair<geometry_msgs::msg::Point, double>> get_collision_point(
max_collision_point = poly_vertex.point;
}
}
if (!max_collision_point.has_value() || !max_collision_length.has_value()) return std::nullopt;
return std::make_pair(
*max_collision_point,
autoware::motion_utils::calcSignedArcLength(traj_points, 0, collision_info.first) -
Expand Down

0 comments on commit 9bef480

Please sign in to comment.