Hi Vincent, I think both remarks are worth a ticket http://www.sumo-sim.org/trac 1. setting a new route should (at least optionally) clear the existing stops or we need another "clear all stops" command 2. extracting stops via traci should be possible
At the moment you can only save the stops you set via TraCI yourself or parse the route files for the "static" stops. Best regards, Michael 2013/12/23 <[email protected]>: > Hi, > > When I inject a vehicle via traci, I assign it a dummy route with a > stop location for a long time, so it stays in the sim till the AI > starts telling it something to do. > > Now when I load a new route (predefined by ID in xml file), it looks > like the previous stop location takes precedence over the new route? > > I thought loading a new route would clear all current route & stop > obligations, i.e. the vehicle would set off immediately. > > If the vehicle has already stopped, its not so bad, as I can send a > resume, and its OK. But if it hasn't stopped before the new route is > loaded (which includes a resume call) then I'm stuck.. For vehicles > where the AI has added stops, I keep a list of stop locations for all > vehicles, so it can send a 0 second stop to override the existing one. > > I think that could work here, but I need a way of finding out details > of any stop location a vehicle has via traci. But I can't see any > functionality to get that? I can get the list of edges ok, but maybe > something like that to extract stop info would be useful? It looks > like the data is there when I look in the GUI, so maybe just not > exported via traci? > > Or, any suggestions for a better way to handle the problem appreciated! > > Thanks > > Vincent > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
