Overview

In this tutorial we will learn to connect Matlab to ROS.

Start arm_gazebo docker

Start your arm_gazebo docker container in the bottom window by:


cd src/arm_gazebo/docker
./run_bash  

image.png

Gazebo should open

image.png

Get your virtual machine’s IP address:

ifconfig

You will see an IP address under the Ethernet network card name like enp0s17. The number after inet is the IP address of the virtual machine.

This value will be used for Matlab’s ROS 'master_host'.

image.png

Notes

  1. This IP address will be static for you can can be used every time in the future.