-
Notifications
You must be signed in to change notification settings - Fork 704
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
Change treatment of pencil point u-turns to ignore situations where two unnamed roads form the pencil-point #3084
Conversation
… when the turn transitions between two unnamed roads. It now checks to see if the connected edges are named before checking for name consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kshehadeh looks good but we should add a gurka test to this one and you need to update the changelog.
@kshehadeh nice catch! |
|
||
int maneuver_index = 1; | ||
|
||
// Verify the left uturn instructions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says to expect a uturn but the instructions is a sharp left. Also how is this case different than the last one? They seem similar.
Fixed a problem where the pencil-point u-turn logic is triggered even when the turn transitions between two unnamed roads. It now checks to see if the connected edges are named before checking for name consistency.
Issue
There are situations where a pencil point u-turn is identified when it shouldn't be. In these cases, a u-turn is formed from two unnamed roads but the two roads are treated as the same road. They shouldn't be.
Tasklist
Requirements / Relations
Link any requirements here. Other pull requests this PR is based on?