Hi, just as the page you mention notes, give your truck a rerouting device via --device.routing.explicit truck1 and specify an interval how often it calculates a new route --device.routing.explicit 300 for every five minutes.
Best regards, Michael Am 24.06.2016 um 03:05 schrieb Hong Th: > Hi, >>From what I have read here:Demand/Automatic Routing - Sumo > > For my case as described here: > - I have around 3600 vehicles(cars) which I really don't care their depart > position and destination inserted on my map which I generated them by using > randomTrips.py and produce the route file using duarouter > - I have another 1 truck which I really care how it travels from point A to > point B . So what I did is manually insert it's depart position and > destination into the trips file which generated from randomTrips.py earlier > as highlighted below. Then only I produce it's route of A to B using > duarouter. > > > > > > - So now I have the route for my truck from A to B. So, if I have road > accidents at some point on the route A to B, how can I use automatic Routing > for my truck to get another route to travel so as to void the traffic jam > during SUMO simulation? Because by default, the truck will stick to the route > which it got from duarouter, so this is something that confuse me. > I would appreciate if you can guide me on this scenario in order to have > alternative route without having to rely on default route generated by > duarouter. Thank you! > Regards,TH > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > > > > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
