You can use traci.load(['-c', 'new.sumocfg']) or any other sumo command
line options to reload the simulation from within your traci script.

Am Do., 10. Dez. 2020 um 17:07 Uhr schrieb Sampath Vanimisetti <
[email protected]>:

> 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
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to