Skip to content

tohruk/Support-and-Docker-Files-for-ROS-Toolbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support-and-Docker-Files-for-ROS-Toolbox

This repository contains Dockerfiles, Gazebo world files and other supporting files to run the ROS Toolbox Examples which involves communication with ROS/ROS 2 Network. The ROS Docker file consists of ROS Installation of Noetic and ROS 2 Installation of Humble along with Gazebo 11 packages. Docker™ is an open platform for developing, shipping and running applications.

In 23b MATLAB Release, using this repo you can run the following two examples.

Example 1

Sign Following Robot with ROS in Simulink

Example 2

Sign Following Robot with ROS 2 in Simulink

MathWorks Products (https://www.mathworks.com)

Requires MATLAB® release R2022b or higher

Installation

Installation Instructions for Docker on Linux

  1. Download and Install Docker Engine: https://docs.docker.com/engine/install/ubuntu/.
  2. Clone this git repository containing the Dockerfile to your local hard drive.
  3. Browse to the location of the Dockerfile in a Terminal and build the docker image.
  4. docker build -t <preferred_name> . (Ex: docker build -t my_noetic_docker_image)
  5. The docker image is now created and is ready to use. You can see the image by running the command "docker images" in a Terminal.
  6. For docker command line options, please refer to this page: https://docs.docker.com/engine/reference/commandline/run/
  7. Create a docker container of the docker image by running like this: "docker run -it --name <name_of_container> <name_of_image> Ex: docker run -it --name ros_container my_noetic_docker_image

Installation Instructions for Docker on Windows

  1. Install and setup WSL on your machine along with the Docker Engine by following this documentation: https://learn.microsoft.com/en-us/windows/wsl/install
  2. Clone this git repository containing the Dockerfile to your local hard drive.
  3. Browse to the location of the Dockerfile in a Terminal and build the docker image.
  4. docker build -t <preferred_name> . (Ex: docker build . -t my_noetic_docker_image)
  5. The docker image is now created and is ready to use. You can see the image by running the command "docker images" in a Terminal.
  6. For docker command line options, please refer to this page: https://docs.docker.com/engine/reference/commandline/run/
  7. Create a docker container of the docker image by running like this: "docker run -it --name <name_of_container> <name_of_image> Ex: docker run -it --name ros_container my_noetic_docker_image

Examples

To learn how to communicate with Docker and ROS Toolbox, see Sign Following Robot with ROS in Simulink. To see the docker commands see Docker Commands

License

The license for this software is found in the license.txt file in this repository

Community Support

You can add your questions at MATLAB Answers.

To report any issue, contact - MathWorks Technical Support.

Copyright 2023 The MathWorks, Inc.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 74.5%
  • C++ 22.3%
  • CMake 2.3%
  • C 0.5%
  • Dockerfile 0.3%
  • Shell 0.1%