Hello,
the route replacement by the rerouter fails and this causes the warning and
misbehavior.
An explanation and workaround is given in
https://github.com/eclipse/sumo/issues/7577

regards,
Jakob

Am So., 20. Sept. 2020 um 17:55 Uhr schrieb <[email protected]>:

> Hello Matty,
>
>
>
> if you only want a vehicle to repeat the same route you can just use the
> “repeat” attribute for the route. For example:
>
>
>
>                 <route id="bot_loop" edges="edge1 edge2 edge3 edge4 edge5
> edge6 edge7 edge8" *repeat="3"*>
>
>                                <stop busStop="stop1" duration="15" />
>
>                                <stop busStop="stop2" duration="15"
> />
>
>                 </route>
>
> This way you don't need a rerouter device.
>
>
>
> Unfortunately I’m not familiar with the rerouter device and don’t know why
> you are getting this error.
>
>
>
> Regards,
>
> Giuliana
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Matty Golub
> *Sent:* Samstag, 19. September 2020 00:21
> *To:* [email protected]
> *Subject:* [sumo-user] routeProbReroute does not assign new route
>
>
>
> Hello,
>
>
>
> I am attempting to use a rerouter to put a single vehicle on a repeating
> looping route. This is intended to simulate a shuttle service that repeats
> a route in a neighborhood. I have generated a toy example from the “Driving
> In Circles” tutorial and have one rerouter currently. I have tried multiple
> configurations for the rerouter and it does not direct the vehicle to
> repeat its route. I have also generated an extra route, called “extra” to
> test rerouter functionality. This also is not successful. When I run the
> rerouter to have the vehicle repeat its loop, I get these warnings when it
> crosses into the edge where the rerouter is located:
>
> Warning: busStop 'stop1' for vehicle 'LR_AV' on lane 'edge2_0' is not
> downstream the current route.
>
> Warning: busStop 'stop2' for vehicle 'LR_AV' on lane 'edge5_0' is not
> downstream the current route.
>
> (Note that the vehicle is programmed as a bus and the bus stops are on its
> original route)
>
> To me this indicates that there is a problem with how the vehicle
> interacts with the rerouter. Since it disappears after reaching the end of
> the edge where the rerouter is located (which is also the last edge on its
> route), it seems the interface between the vehicle and the rerouter does
> not work.
>
>
>
> Would someone be willing to look at the code and help me figure out how to
> use the rerouter properly? I have attached all of the necessary files. It
> is a very small network so all of the files are very small. Any help would
> be greatly appreciated.
>
>
>
> Sincerely,
>
> Matty Golub
>
>
>
> Here is the code for the rerouter, from the .add file. The actual file has
> more in it, but this is what’s necessary:
>
>
>
> <additionals>
>
>                <vType id="LR_AV" width="2" length="7" vClass="bus"
> personCapacity="8"/>
>
>
>
>                <!—“bot_loop” is the bottom loop (bottom half of the figure
> 8) of the network -->
>
>
>
>                <route id="bot_loop" edges="edge1 edge2 edge3 edge4 edge5
> edge6 edge7 edge8">
>
>                               <stop busStop="stop1" duration="15" />
>
>                               <stop busStop="stop2" duration="15"
> />
>
>
>
>                </route>
>
>
>
>                <rerouter id="rerouter_2" edges="edge8" vTypes="LR_AV"
> probability="1">
>
>                               <interval begin="0" end="1e9">
>
>                                              <routeProbReroute
> id="bot_loop" probability="1"/>
>
>                               </interval>
>
>                </rerouter>
>
> </additionals>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to