Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(behavior_path_planner): prevent crashes with the drivable area expansion #917

Conversation

maxime-clem
Copy link

Description

This PR add a guards for when the boost::geometry::buffer function returns an empty set of polygons.

Tests performed

Not applicable.

Effects on system behavior

Prevents some crashes of the behavior_path_planner.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@takayuki5168 takayuki5168 merged commit b5e0d3d into tier4:beta/v0.11.0 Oct 6, 2023
@maxime-clem maxime-clem deleted the fix/behavior_path_planner-drivable-area-crash-empty-polygons_X2 branch June 28, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants