Giter VIP home page Giter VIP logo

rs2's Introduction

My Docker-Compose Setup

Dockerfile

The Dockerfile to build the image is within docker/. It contains the build instructions for an image to have ROS Melodic / Ubuntu 18.04 with basic GUI operation if you have hardware that runs Intel Integrated Graphics (No Graphics card setup and Intel CPU).

For those who have a NVIDIA GPU on their setups: please refer to here. I will post some information if there are users who have a NVIDIA GPU in their setup. (Everything relating to ROS will work except for RVIZ and Gazebo which require OpenGL).

Docker-Compose

Ensure that you have Docker-Compose installed and obviously Docker Desktop for Ubuntu Installed. Link for installation is located here

IP Addresses

To observe what the IP address is easily without failure and confusion - once you are SSH'ed into the Duckiebot; you can ping your laptop from the terminal shell from the RaspberryPi. (I.e. run ping <Your-Laptop-Hostname>.local). I have included some regular expressions in my scripts which print out the correct IPs that you will have to edit the docker-compose.yaml file.

Some other notes

Remember to set your ROS_MASTER_URI to the Duckiebots one which is http://raspberrypi.local:11311/. In Docker-Compose this is passed as an argument under the Environment Variable.

environment:
- "ROS_MASTER_URI=http://raspberrypi.local:11311/"

Remember to alter these variables per your setup.

extra_hosts:
  - "<LAPTOP_HOSTNAME>.local:<LAPTOP_IP>"
  - "raspberrypi.local:<PI_IP>"
environment:
  - "ROS_MASTER_URI=http://raspberrypi.local:11311/"
  - "ROS_HOSTNAME=<LAPTOP_HOSTNAME>.local"

Wheel Calibration

There are some notes if you refer to calib/wheel/.

References

For further references on how I figured out most of this - the tutorial from Open Source Robotics Foundation is here

rs2's People

Contributors

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