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 waypoints in SUMO junctions #1924

Merged
merged 4 commits into from
Mar 27, 2023
Merged

Fix waypoints in SUMO junctions #1924

merged 4 commits into from
Mar 27, 2023

Conversation

saulfield
Copy link
Contributor

Fixes #1911.

See this comment for context. I'm opening a PR for this because it appears to be separate from the other waypoint issues that have been reported.

Comment on lines +979 to +980
for incoming_lane in lane.incoming_lanes:
for junction_lane in incoming_lane.outgoing_lanes:
Copy link
Collaborator

Choose a reason for hiding this comment

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

This may or may not be enough, I remember that sometimes the junction lanes are subdivided so that the incoming lane is still a junction lane. You may want to do a in_junction check to get back to an incoming lane that is not in the junction.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good to know. Should we hold off on merging this until we test it a bit more? I think this change will only help.

Copy link
Collaborator

Choose a reason for hiding this comment

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

After previous conversation, we can merge this and consider future fixes with other PRs.

@saulfield saulfield merged commit cf340c0 into master Mar 27, 2023
@saulfield saulfield deleted the saul/waypoint-fixes branch March 27, 2023 17:44
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.

Disappearing waypoints path at intersection
3 participants