Hello, - you can use the function traci.load to restart the simulation again with arbitrary options from within your traci script - you could also use sumolib to read the network and start traci only after the routes are built. This library is better suited to retrieve all kinds of static information from a .net.xml file. See http://sumo.dlr.de/wiki/Tools/Sumolib - or you could start sumo without a route file and generate the vehicles with traci.vehicle.add at runtime
regards, Jakob 2018-05-09 21:04 GMT+02:00 Pedro Matuck <[email protected]>: > Hello, > > I'm using Traci to generate a .rou.xml file. However, it's generated based > on number of nodes and edges which I get from GetIDList methods. > > To access the GetIDList, I need to start the simulation using .sumocfg > file which reads a .rou.xml file. I need to create the rou.xml before load > .sumocfg. > > It's possible to load the network file (to access the nodes and edges > information) and after some instructions start the simulation with .sumocfg > file? > > Thanks. > > -- > *Pedro J. Matuck* > Github <https://github.com/pjmatuck> - Linkedin > <https://www.linkedin.com/in/pedro-matuck-79324323> - Youtube > <http://www.youtube.com/c/AbreChaves> > > "The hardest battle lies within." > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
