Hello, for changing the amount of vehicles based on some external data source (with all data available at the start of the simulation) http://sumo-sim.org/wiki/Simulation/Calibrator if you need to adapt to real-time data, you need to use TraCI. try this tutorial: http://sumo-sim.org/wiki/Tutorials/TraCI4Traffic_Lights also read http://sumo-sim.org/wiki/TraCI/Interfacing_TraCI_from_Python regards, Jakob
2014-09-18 21:44 GMT+02:00 JOSE LUIS CALDERON CHOY <[email protected]>: > Hi all, I'm on a project and I would like to know how to get information > about > the number of vehicles in a particular street and be able to put this > information in SUMO, and it is updated as the information provided by the > semaphore regarding the amount of the vehicles go changing. Iwould like to > know: > > 1 How I can place the information of the number of vehicles in a > particular avenue > on SUMO and that will be updated, while change the information provided by > the > vehicles, that is, to read real-time information provided by the semaphore > and > this information is shown in SUMO. > > 2 I guess this could be done using the protocol TRACI, I wonder if you send > me some illustration done for you regarding the use of TRACI.Thank you very > much in advance. > > -- > Atte > > José Luis Calderón Choy, M.Eng > Telecommunications > Physics Eng, Bach > Lima - Peru > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
