Important
This repository is a minimal fork of the official ros-bridge! All initial and following modifications to the original repository are documented in CARLOS_CHANGELOG.md.
Tip
We recommend to use the carla-ros-bridge as communication actor in our open, modular and scalable simulation framework CARLOS.
Here, it is the component that facilitates the powerful combination of CARLA and ROS. The component retrieves data from the simulation to publish it over ROS topics while simultaneously listening on different topics for requested actions, which are translated to commands to be executed in CARLA. It does this by using both the ROS communication standard DDS, as well as RPC via the CARLA Python API, in tandem, effectively bridging the two.
Tip
Please also have look to the ROS specific README giving detailed insights about available ROS nodes, topics and services but also useful information about the containerization. Here, docker-ros enables a continual building of container images with recent versions of ROS, Python, and Ubuntu.
Note
We set up a Continous Integration (CI) pipeline as GitHub workflow to continously build Docker images for the carla-ros-bridge
, publicly available on Docker Hub.
This ROS package is a bridge that enables two-way communication between ROS and CARLA. The information from the CARLA server is translated to ROS topics. In the same way, the messages sent between nodes in ROS get translated to commands to be applied in CARLA.
This version requires CARLA 0.9.13
- Provide Sensor Data (Lidar, Semantic lidar, Cameras (depth, segmentation, rgb, dvs), GNSS, Radar, IMU)
- Provide Object Data (Transforms (via tf), Traffic light status, Visualization markers, Collision, Lane invasion)
- Control AD Agents (Steer/Throttle/Brake)
- Control CARLA (Play/pause simulation, Set simulation parameters)
Installation instructions and further documentation of the ROS bridge and additional packages are found here.