Git Product home page Git Product logo

ros2workshop's Introduction

ros2workshop

Running with VSCode

In VSCode install extension Dev Containers and Remote Development. Then open this repo in VSCode and do F1 -> Rebuild and Reopen Container.

Run ROS2 Manually with Docker (only tested on Ubuntu 22.04)

Make sure you have Docker installed (see resources).

cd .devcontainer/
./manualrun.sh

You should automatically create and connect to a Docker container with ROS2.

If a container already exists OR another terminal needs to be opened in same container, run:

docker exec  -it ros2workshop /bin/bash

Things covered

Workshop 1

Workshop 2

Workshop 3

Resources

Docker install https://docs.docker.com/engine/install/

ROS2 on Docker https://docs.ros.org/en/humble/How-To-Guides/Run-2-nodes-in-single-or-separate-docker-containers.html

Additional debug info

Experiencing issues opening visual programs on Docker container?

Solution: run xhost +local:docker on host before running container (tested on Ubuntu18.04). Full conversation about this here.

ros2workshop's People

Contributors

janezcim avatar

Stargazers

 avatar

Watchers

 avatar

ros2workshop's Issues

Unable to run turtlesim inside the container

on Ubuntu 18.04

ros2 run turtlesim turtlesim_node

Error message (with QT_DEBUG_PLUGINS=1)

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/ros/humble/lib/turtlesim/platforms" ...
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

[ros2run]: Aborted

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.