Installing MyRobotLab on Raspberry Pi

Hi

I have seen in the InMoov forum that a few people are starting to use MyRobotLab in Raspberry PI, so I will share what steps I went thru. I'm not going to rewrite guides that already exists, but I will link to the instructions that I have used.

The first step is to get an operating system installed on the Pi. I installed the latest ( Jessie ) Raspbian using this giude: https://www.raspberrypi.org/downloads/raspbian/

The nice thing with this distribution is that it contains the jvm ( Java Virtual Machine ) from Oracle and it's much faster ( like 8 times ) than OpenJava.

First time you boot, you need to configure parameters like language, keyboard and some other parameters.

They can be found in Menu => Preferences => Raspberry PI Configuration

That's also where you can enable things like the camera and the i2c interface.

I also upgraded to the latest version of Raspbian using:

sudo apt-get -y update

sudo apt-get -y upgrade  

I also installed xrdp: Reference:

http://raspberrypi.stackexchange.com/questions/56413/error-problem-conne...

sudo apt-get remove xrdp vnc4server tightvncserver

 

sudo apt-get install tightvncserver

sudo apt-get install xrdp

 

When xrdp is installed it's very easy to connect remotley to the PI using Windows Remote Desktop.

All you need to do is to find the IP address of the PI.

Use the command ifconfig. It will show lots of information so read thru it until you find inet addr:

Thats the ip-address that you use to connect to the PI.

Next step is to download MyRobotLab.

The easy way is to start a Browse in the PI, navigate to http://www.myrobotlab.org and click the "latest build" in the shoutbox. It will take a few minutes.

Then create a folder for myrobotlab. I created a folder /home/pi/mrl

Then move the file myrobotlab.jar from  /home/pi/Downloads to /home/pi/mrl

Start myrobotlab using:

java -jar myrobotlab.jar

It takes a lot of time to install everything, so I usually only install the services that I want to use.

But if you want, you can install everything using this command

java -jar myrobotlab.jar -install

To make it easy to start MRL I created a small script ( MyRobotLab.sh )that I put on the desktop.

-----------------------------------

#!/bin/bash

cd /home/pi/mrl

java -jar myrobotlab.jar

---------------------------------

When the scipt has been created it needs excute permisssions. 

Rightclick on the script and select Properties. In the Permissions tab select Execute Anyone.

I hope this guide helps to get you started.  

/Mats


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
astro's picture

Hi, sorry my english. i'm

Hi, sorry my english. i'm newbie in this.
I follow the instrucctions download latest build, but i can't full install in Raspberry Pi 3. I send No Worky. Some services won't install: InMoov, OpenCV, etc.
I would appreciate any help.

Thanks.

/astro