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

Ensure waypoints are never empty #2009

Merged
merged 2 commits into from
May 2, 2023
Merged

Ensure waypoints are never empty #2009

merged 2 commits into from
May 2, 2023

Conversation

saulfield
Copy link
Contributor

As mentioned in #2004, there is an edge case where waypoints can be empty when in a junction and all the potential paths have been filtered out. This PR ensures that we fall back to just returning waypoints for the nearest lane in this case.

Copy link
Collaborator

@Gamenot Gamenot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please addd a changlog entry.

@saulfield saulfield merged commit 4565230 into master May 2, 2023
@saulfield saulfield deleted the saul/empty-waypoints branch May 2, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants