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

Bicycles prefer bike paths #10147

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dolevi-tub
Copy link

Signed-off-by: Dominik Genz d.genz@campus.tu-berlin.de

Fixes #10146

@namdre namdre self-assigned this Feb 14, 2022
@namdre
Copy link
Contributor

namdre commented Feb 14, 2022

The PR breaks three tests.
Most illustrative is test sumo/devices/rerouting/assignment/bike-speeds:
In the case where a bike lane ends, the bicycle must switch to the road lane (to avoid teleporting).
Generally speaking, the bike lane should only be preferred if it allows to continue the route just as well as the next best alternative lane.

Please also provide a test where your PR shows a beneficial difference in behavior (as attached zip file or separate PR).

@namdre
Copy link
Contributor

namdre commented Feb 15, 2022

Upon further consideration, it might be a bad idea to solve this via the strategic lane choice code (as discussed in #5480)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bicycles' preference for bike paths
2 participants