You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flow.core.kernel.simulation.traci.TraCISimulation has start_simulation method that spawns a SUMO instance. The configuration of arguments passed to the sumo instance is not exposed to the developer, and we need to go and change library code, which is not a good practice IMHO. Just like:
# command used to start sumo
sumo_call = [
sumo_binary, "-c", scenario.cfg,
"--remote-port", str(sim_params.port),
"--num-clients", str(sim_params.num_clients),
"--step-length", str(sim_params.sim_step)
]
I suggest movinga any and all SUMO executable parameters to some default configuration class (SimParams would be a good candidate) and expose it to users.
Thanks!
The text was updated successfully, but these errors were encountered:
Feature Description
Please provide:
flow.core.kernel.simulation.traci.TraCISimulation
hasstart_simulation
method that spawns a SUMO instance. The configuration of arguments passed to the sumo instance is not exposed to the developer, and we need to go and change library code, which is not a good practice IMHO. Just like:I suggest movinga any and all SUMO executable parameters to some default configuration class (SimParams would be a good candidate) and expose it to users.
Thanks!
The text was updated successfully, but these errors were encountered: