Hello, the command change route (0x57) allows you to specify the full sequence of edges to take (starting at the current edge the vehicle is at). regards, Jakob
2014/1/15 Pavlos Basaras <[email protected]> > Thanks for your reply, > > i used the command: commandNewRoute, but to my understanding this command > decides the next edge to follow eg. from "43455091#2" to "26248273#22" and > not to "43455091#3" for example as was specified in my route from .rou.xml > file. What i need to do is change from > route1={edge2,edge2,...edgeX,..,edgeN} to route2={edgeX, edgeY,...} i > cannot find the appropriate command to do this. > > Thanks you very much for your time, > Pavlos > > > 2014/1/14 Christoph Sommer <[email protected]> > > > Pavlos Basaras wrote: > > > Hello i am trying to make a vehicular simulation with SUMO and VEINS, > > and i > > > need to change routes using the the route id of my specified routes > > > > this should be doable using the change route by id (0x53) command of a > > vehicle. See [1] for the SUMO documentation, [2] for a sample > > implementation in Veins that sets a (different) vehicle variable. > > > > Cheers, > > > > Christoph > > > > > > [1] > > > > > http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI/Change_Vehicle_State > > > > [2] > > > > > https://github.com/sommer/mixim-sommer/blob/veins-2.1/src/modules/mobility/traci/TraCIScenarioManager.cc#L432 > > > > > > > > -- > > Dr.-Ing. Christoph Sommer > > Institute of Computer Science > > University of Innsbruck, Austria > > Phone: +43 512 507-53285 / Fax: -53079 > > http://ccs.uibk.ac.at/~sommer/ > > > > > > > ------------------------------------------------------------------------------ > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > Critical Workloads, Development Environments & Everything In Between. > > Get a Quote or Start a Free Trial Today. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
