The carla autoware bridge is now hosted and maintained here.
This repository contains a demonstrator of an autoware agent ready to be executed with CARLA.
The autoware agent is provided as a ROS package. All the configuration can be found inside the carla-autoware-agent folder.
The easiest way to run the agent is by building and running the provided docker image.
- Docker (19.03+)
- Nvidia docker (https://github.com/NVIDIA/nvidia-docker)
Firstly clone the carla autoware repository, where additional autoware contents are included as a submodule:
git clone --recurse-submodules https://github.com/carla-simulator/carla-autowareAfterwards, build the image with the following command:
./build.shThis will generate a carla-autoware:latest docker image.
- Run a CARLA server.
You can either run the CARLA server in your host machine or within a container. To start a CARLA server within a docker container run the following command:
docker run -p 2000-2002:2000-2002 --runtime=nvidia --gpus all carlasim/carla:latestYou may find more information about running CARLA using docker here
- Run the
carla-autowareimage:
./run.shThis will start an interactive shell inside the container. To start the agent run the following command:
roslaunch carla_autoware_agent carla_autoware_agent.launch town:=Town01The autoware-contents repository contains additional data required to run Autoware with CARLA, including the point cloud maps, vector maps and configuration files.
