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

Reply via email to