With respect to TraCI, I thought that the following line of code loads and
starts the simulation:
traci.start([sumoBinary, "-c", "run.sumo.cfg"])
However, now I realize that this loads and starts the basic (or zeroth)
step. The actual step by step simulation is executed by the following line
of code:
stepCount=traci.simulationStep() #capture the steps of
simulation, one step at a time
Please correct me if I am wrong, further comment please.
On Tue, 9 Jun 2020 at 12:47, Tripplanner Mumbai <[email protected]>
wrote:
> Hello,
> I was trying to only load (not start the simulation) the simulation
> network or scenario using TraCI, particularly the following code (ref-
> https://sumo.dlr.de/daily/pydoc/traci.main.html).
>
> try:
> traci.load(['-c', 'run.sumo.cfg']) #only loads the simulation or
> scenario, not starts
> print("TraCI program loads the network successfully")
> except:
> print("TraCI program is unable to load the network")
>
> Unfortunately, it always prints the exception part, that is, the program
> fails to load the network.
>
> Can anyone let me know how to only load the network, not start is through
> TraCI?
>
> regards,
> Dillip Rout
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user