[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Change SUMO config on remote server through TRACI
|
You can use traci.load(['-c', 'new.sumocfg']) or any other sumo command line options to reload the simulation from within your traci script.
Hello All:
I am a new user of SUMO and CARLA - and this is my first post to this forum.
I am running the CARLA-SUMO co-simulation example (spawn_npc_sumo.py). I noticed that the sumo instance is started locally if not host/port are specified. However, if I specify a remote host/port (not localhost), I am unable to change the SUMO cfg/net file using TRACI in my python script. I have to manually start the SUMO instance on the remote server using the new cfg file every time. Is there a way to switch the SUMO cfg file via TRACI remotely, like we do for CARLA load_world() function?
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user