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
repeating public transit routes #7127
Comments
I'm not sure what your question is.
Of course, both things can be combined if you want multiple vehicles running the same repeating loop. |
hello @namdre, I am still facing the same problem. I have a circle like route with stops along the route. In the first run of the buses, they stop at assigned stops, but in the following runs, the buses stop at every stop and passengers do not board. The additional file:
and the route xml file:
` Thank you for your help. |
Rerouters are not recommended for modelling looped public transport routes.
Instead, define a route for each bus that includes the stops and use the 'repeat' attribute for looping. |
Can I still change the route stops using traci throughout the simulation in this way? |
Yes. When using 'repeat', all stops the vehicle will ever take can be retrieved with |
Thank you so much for your help. It was very useful. I managed to let the buses stop at desired stops the whole simulation. If I want to let a bus skip the next stop in the simulation dynamically, can it be done? I don't want to remove it from the road, just this bus do not stop on it now. |
You can use replaceStop with an empty string for the edgeID argument to remove the stop at the specified index in the stop list. |
@namdre
For clarification regarding repeating PT.
I am wanting to have the same type vehicle repeat its route.
I tried repeating edges and stops in router and flow.
I think I misunderstood your comments regarding this question:
#6550
The text was updated successfully, but these errors were encountered: