Carla Simulator

Quick start

Set up the Debian repository in the system.

sudo apt-key adv — keyserver — recv-keys DB53A429E64554FC &&
sudo add-apt-repository “deb [trusted=yes] all main”

Install CARLA and check for the installation in the /opt/ folder.

sudo apt-get update
sudo apt-get install carla-simulator
cd /opt/carla-simulator

Import additional assets

For every release there are other packages containing additional assets and maps, such as Additional_Maps_0.9.9.2 for CARLA, which contains Town06, Town07, and Town10. These are stored separatedly to reduce the size of the build, so they can only be run after these packages are imported.


Running CARLA

cd bin

If on closing carla, system freezes, then use:

./ -opengl

A window containing a view over the city will pop up. This is the spectator view. To fly around the city use the mouse and WASD keys (while clicking). The server simulator is now running and waiting for a client to connect and interact with the world.
Now it is time to start running scripts. The following example will spawn some life into the city:

cd PythonAPI/examples




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store