Git Product home page Git Product logo

carla-ros-bridge's Introduction

ROS2 bridge for CARLA simulator v0.9.15

This ROS package is a modified fork of the carla-simulator/ros-bridge package that is adopted to work with ROS2 Humble running on Ubuntu 22.04 LTS with Scenario Runner v0.9.15. The ROS bridge 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.

Main Requirements

  • OS: Ubuntu 22.04 LTS
  • CARLA Version: 0.9.15
  • Scenario Runner Version: 0.9.15
  • ROS Version: Humble
  • NOTE: All testing were peformed using Python 3.10. The default CARLA PythonAPI only supports Python 2.7 and 3.7 (and 3.8 by extension). Updated .whl and .egg files for Python 3.10 can be found at https://github.com/gezp/carla_ros/releases/.

Screenshot of Carla AD Demo in Action

rviz setup

Instructions (adapted from ROS Bridge Documentation)

  1. Set up a project directory and clone the ROS bridge repository and submodules:
mkdir -p ~/Workspace/ros-bridge && cd ~/Workspace/ros-bridge
git clone --recurse-submodules https://github.com/ttgamage/carla-ros-bridge.git
mv carla-ros-bridge src
  1. Set up ROS environment and install dependencies:
source /opt/ros/humble/setup.bash
rosdep update
rosdep install --from-paths src --ignore-src -r
  1. Build the ROS bridge workspace using colcon:
colcon build --symlink-install

carla-ros-bridge's People

Contributors

fred-labs avatar joel-mb avatar jbmag avatar dennisrmaier avatar fabianoboril avatar arkadiy-telegin avatar ttgamage avatar fpasch avatar hofbi avatar corkyw10 avatar fabianschurig avatar berndgassmann avatar sergigm93 avatar togaen avatar lgeo3 avatar vimalrajliya avatar diego-ort avatar danil-tolkachev avatar s-hillerk avatar nsubiron avatar johannesquast avatar shepelilya avatar roosstef avatar himanshugoswami avatar umateusz avatar kevinladlee avatar thibault-buhet avatar ll7 avatar ksuszka avatar ignacioalvmar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.