Hello, SUMO has an inbuilt API to accomplish exactly this kind of live control. See http://sumo.dlr.de/wiki/TraCI regards, Jakob
2016-04-04 17:11 GMT+02:00 Ian Buckley <[email protected]>: > I would like to modify the behaviors of vehicles with respect to > neighboring vehicles and would rather not use a full-fledged network > simulator. > > Regarding the raw simulation output in which vehicle positions and > velocities are given for each time step, is the output file written to at > every time step or all at once after the simulation terminates? In other > words, is it possible to access the position and velocity information of > all vehicles while the simulation is live so that vehicles behaviors can be > modified based on this information at every time step? > > If I am approaching this from the wrong angle or if there is an existing > utility that does this easily, please let me know. > > Thanks, > nbckly > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
