Carla and SUMO co-simulation on Windows

Hello everyone,

I’m new on Carla and for a project I need to run a Carla/SUMO co simulation.
Everything works on the Python API when I’m not using Sumo.
However, when I started to follow the tutorial for Sumo, Python gives me that : `usage: run_synchronization.py [-h] [–carla-host H] [–carla-port P]
[–sumo-host H] [–sumo-port P] [–sumo-gui]
[–step-length STEP_LENGTH]
[–sync-vehicle-lights] [–sync-vehicle-color]
[–sync-vehicle-all]
[–tls-manager {none,sumo,carla}] [–debug]
sumo_cfg_file
run_synchronization.py: error: the following arguments are required: sumo_cfg_file
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2`

Can someone help ?

Thanks

You need to provide a sumo config file to the script. There are some example files for some of the maps in the folder Co-Simulation/Sumo/examples. For example, for Town04, you can use the following command:

python run_synchronization.py --sumo-gui examples/Town04.sumocfg