Go to file
nsubiron 766508eb86 Add autopilot mode to player 2017-09-04 16:36:30 +01:00
Content/PostProcessingMaterials Fix depth shader for Windows and improve SceneCaptureToDiskCamera 2017-06-22 11:53:05 +01:00
Resources Add more options to CARLA settings 2017-07-28 17:03:30 +02:00
Source/Carla Add autopilot mode to player 2017-09-04 16:36:30 +01:00
Util Some changes in the python client 2017-08-30 12:55:25 +02:00
.gitattributes Remove git lfs 2017-07-25 17:07:35 +02:00
.gitignore Set up build system 2017-07-26 18:16:30 +02:00
CHANGELOG.md Increase version 2017-06-21 15:27:35 +01:00
Carla.uplugin Upgrade to Unreal Engine 4.17 2017-08-23 12:38:06 +02:00
Doxyfile Set up build system 2017-07-26 18:16:30 +02:00
LICENSE Add MIT license 2017-07-28 18:42:59 +02:00
Makefile Make it compile in Windows 2017-08-29 15:04:58 +01:00
README.md Update readme for windows 2017-08-29 15:56:49 +01:00
Setup.sh Statically link CarlaServer 2017-08-29 12:16:40 +02:00

README.md

CARLA

Plugin for Unreal Engine 4.

Setup

Linux

The following has been tested only in Ubuntu 16.04.

Install clang 3.9

sudo apt-get install -y build-essential
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update
sudo apt-get install -y clang-3.9 clang++-3.9

You may need to change your default clang version to compile Unreal

sudo ln -s /usr/bin/clang-3.9 /usr/bin/clang
sudo ln -s /usr/bin/clang++-3.9 /usr/bin/clang++

Download and install Unreal Engine 4.17

git clone --depth=1 -b 4.17 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine_4.17
cd ~/UnrealEngine_4.17
./Setup.sh && ./GenerateProjects.sh && make

Clone CARLA to your project

cd path/to/your/ue4-project
mkdir -p Plugins && cd Plugins
git clone --depth=1 https://bitbucket.org/carla-cvc/carla-ue4-plugin  Carla
cd Carla

Now run Setup,sh (will build all the dependencies, takes a while) and make

./Setup.sh
make

Recommended to do a check to see if everything worked fine

make check

Now build your project with Unreal normally.

Windows

A setup script is not yet available. You need to compile yourself boost, protobuf and googletest, and install them under ./Util/Build as

Util/
    Build/
        boost-install/
        googletest-install/
        protobuf-install/

Once the dependencies are there, run

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
make

Run-time settings

See Resources/Example.CarlaSettings.ini.