This is strange because the function traci.rerouteEffort completely bypasses the (re)routing device. I recommend that you let your simulation write vehroute-output and then to look at the reason for rerouting. It should say "traci:rerouteEffort" instead of "device.rerouting").
Am Mo., 7. Dez. 2020 um 19:53 Uhr schrieb Jose Monreal Bailey < [email protected]>: > Thanks Jakob for your reply! > I am setting the effort, but I found that the problem was the vehicles did > not have a routing device, so I added it. > > Thanks ! > > On Mon, 7 Dec 2020 at 07:21, Jakob Erdmann <[email protected]> wrote: > >> All vehicles are able to reroute when asked to do so via TraCI. Possible >> reasons why it doesn't happen for you: >> - the vehicle has lots of stops or vias defined that anchor the route >> - wrong effort values being used (default edge effort is 0). >> >> How are you setting the effort? >> Did you check the effort in sumo-gui? >> >> Am So., 6. Dez. 2020 um 02:53 Uhr schrieb Jose Monreal Bailey < >> [email protected]>: >> >>> Hey everyone, >>> >>> I was reading past emails where they asked about rerouting by effort. >>> I am using TraaS, and when calling rerouteEffort with vehicle id, I do >>> not see the vehicle re-routing even when the effort on all other edges is >>> smaller than the ones it has already taken. >>> >>> Could it be because the route/flow is fixed, and it can not go against >>> the rule of the defined route? >>> >>> Best regards, >>> José >>> _______________________________________________ >>> 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 >> > _______________________________________________ > 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
