Installing ROS 

In order to use the ROS Publisher and ROS Subscriber blocks, you must install ROS on your computer

To install ROS

1.    Make sure Windows Subsystem (WSL) for Linux Ubuntu 20.04 is installed on your computer. If it is not, go to https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview and follow the installation procedure that corresponds to the Windows OS on your computer.

2.    Open a command window and go to <Embed-install-directory>\rosInstall.

3.    Enter the following command to start the installation process:

rosInstall.bat

4.    The bat file prompts for a WSL Ubuntu user name and password you created in step 1. Enter them to the prompts.

The installer installs ROS on WSL Ubuntu and verifies the installation.

5.    Open WSL Ubuntu from the Start menu.

A window similar to the following is displayed:

Shape, rectangle

Description automatically generated

6.    Enter the following command to set up rosbridge, the server used to communicate with Embed.

$roslaunch rosbridge_server rosbridge_udp.launch

The following text is displayed showing that ROS is installed on your computer and the ROS Publisher and ROS Subscriber blocks are ready for use. 

Text

Description automatically generated