Coder Social home page Coder Social logo

ros2_webots_docker's Introduction

Webots and ROS2 Installation docker

A ROS2 Foxy (docker) setup with all the required dependencies for this project (and it will be updated on the go), coupled with Webots simulator R2022a in an Ubuntu 20.04 environment. The setup may work with or without GPU (follow the corresponding guidelines).

Prerequisites

Install the following dependencies for your system:

Set Up Docker containing ROS2 & Webots

After completing this section, you are able to run ROS2 and Webots in a docker container.

  1. Run docker daemon and add yourself to docker group

    sudo systemctl enable docker.service
    sudo systemctl start docker.service
    sudo usermod -aG docker $USER
  2. Start the XServer:

    • For Ubuntu: xhost +local:* or xhost +local:docker (for docker) on Terminal
    • For Mac: e.g. XQuartz. To install and configure it, follow this tutorial.
  3. Create a new workspace ros_ws and source ros_ws/src directory

    mkdir -p ~/ros_ws/src
  4. Clone this repository to ros_ws/src/docker

    git clone https://github.com/alexandrosnic/ros2_webots_docker.git ~/ros_ws/src/docker
  5. Run provisioning script

    cd ~/ros_ws/src/docker
    make devel
  6. Wait for the provisioning script to finish

  7. Acces the environment from any terminal window

    docker exec -it ccbts-devel bash

ros2_webots_docker's People

Contributors

alexandrosnic avatar

Stargazers

XU Cheng avatar

Watchers

James Cloos avatar  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.