Skip to content

RISE-Dependable-Transport-Systems/carla-ros-bridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS/ROS2 bridge for CARLA simulator

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.15

Features

  • 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)

Getting started and documentation

Installation instructions and further documentation of the ROS bridge and additional packages are found here.

Issues

  • Compilation issues with rviz_carla_plugin, carla_ad_demo, pcl_recorder. Skip them during build step:
    colcon build --symlink-install --packages-skip rviz_carla_plugin carla_ad_demo pcl_recorder
    

Setup

  • rosdep install -i --from-path src --rosdistro humble -r -y
  • pip install -r src/carla-ros-bridge/requirements.txt

Usage

ros2 launch carla_ros_bridge carla_ros_bridge.launch.py passive:=True
ros2 launch carla_ros_bridge carla_ros_bridge.launch.py passive:=True log_level:=debug

About

ROS bridge for CARLA Simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.6%
  • C++ 11.2%
  • CMake 3.9%
  • Other 1.3%