carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.33k stars 3.67k forks source link

How to load a new map while starting the Carla simulator #5817

Open aakashsehgal opened 2 years ago

aakashsehgal commented 2 years ago

I am using Carla 0.9.12 packaged version for Linux. Somehow i cannot change the map while starting the Carla simulator. the command ./CarlaUE4.sh TownXX does not have any influence and Town10 is always loaded by default. I can change this in the default.ini file but it is a bit tedious to change it every time. Is there any command line arguement to do that ?

Dragonking3x commented 2 years ago

You can change settings with the "PythonAPI/util/config.py" script. ./config.py --map Town05

If you change more as only 1-2 different settings, you may make a python script yourself.

https://pypi.org/project/carla/ https://carla.readthedocs.io/en/0.9.13/start_quickstart/#command-line-options

you need python 3.7 or the package may not install.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.