Remote Control [Melodic]

Remote Control for R1mini

In markdwon, the line MyPC indicates that the command should be run on MyPC. R1mini indicates that the command should be run on the R1mini.

The password for your R1mini should be the one digit number "1".

Device Setup

In order to remotely control your R1mini, you will need a separte computer which will be called "MyPC".

Enter the below command into the terminal shell of MyPC to get the IP address for the computer. This IP address will be used to remotely connect to and control the R1mini with your computer.

$ ifconfig

The output from the command should look something like the image below. The IP of the computer should start with 192.168. and can be seen next to inet in the wlan0 section. Run this command again on R1mini to find out the IP address of the R1mini as well.

Next, to be able to remotely connect the robot to your computer, change the ROS_MASTER_URI on the R1mini. To do this, run the below code on your R1mini.

$ nano ~/.bashrc

A bashrc file like the image should appear. Using the arrow keys, navigate to the bottom of the ~/.bashrc file. Replace the ROS_MASTER_URI's IP address with MyPC's IP address.

Next, run the below command in the terminal of the R1mini. This will save and update the bashrc file.

$ source ~/.bashrc

Next, on MyPC, enter the below line in the terminal shell to remotely access your R1mini. The R1mini must be connected to the internet. Replace the x's at the end of the command with the IP address of your R1mini.

$ ssh r1mini@192.168.x.xx

Now, you should be able to remotely access and log into the R1mini using MyPC.

Video Demonstration

Watch the video demonstration for this page here: https://www.youtube.com/watch?v=uJpqVfjeYGc

Last updated