Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.38 KB

About

This repo contains docker file that builds UE4 dev environment for latest dev carla branch.

Usage instruction:

  1. Make sure you have nvidia card and nvidia docker installed
  2. Make sure you have connected your EpicGames account and your guthub account.
  3. Generate keypair and deploy your public key to your github account (when asked for private key passphrase, leave it blank).
  4. Name your private key file as carla_keys and place it right next to the Dockerfile
  5. Build Dockerfile with someting like docker build -t my_carla:dev . (this might take 1 to 3 hours depending on your hardware and ~250GB of free disk space)
  6. Run the image with GUI support like this (here I limit cpu usages to 9 cores to leave some processing power for host tasks):
docker run \
  -it \
  --env="DISPLAY" \
  --env="QT_X11_NO_MITSHM=1" \
  --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
  --gpus all \
  --cpus="9.0" \
  --privileged \
  --network="host" \
  my_carla:dev
  1. Run make launch command. This will start UE4 Editor with Carla plugins.
  2. Done. Now you can introduce changes and build standalone packages. For example here you can watch the viodeo demostrating adding custom map to Carla.