987 B
987 B
CARLA Settings
CARLA reads its settings from a "CarlaSettings.ini" file. This file controls most aspects of the simulation, and it is loaded every time a new episode is started (every time the level is loaded).
Settings are loaded following the next hierarchy, with values later in the hierarchy overriding earlier values.
{ProjectFolder}/Config/CarlaSettings.ini
- File provided by command-line argument
-carla-settings=<path-to-ini-file>
- Other command-line arguments as
-world-port
, or-carla-no-networking
- Settings file sent by the client on every new episode.
Take a look at the CARLA Settings example.
!!! tip
If you are in editor, you most probably want to disable networking.
Otherwise the game will hang until a client connects. Set
UseNetworking=false
in "./Unreal/CarlaUE4/Config/CarlaSettings.ini".