Note MyRobotlab is a work in progress and in constant evolution, this tuto can be out of date within the next day I post.

But hopefully it will guide you in the correct direction.

VERSION Kraken 1.0.1723:

  • This version fixes issues with tracking related to 1412 with speed.
  • Adds more gestures to answers through programAB
  • You can ask the battery level of your bot PC
  • It can translate for you, say for exemple: translation in French. More info in translate.py and translator.aiml
  • It can Face recognize, say Face recognizer then train it. More info here.
  • AcapellaSpeech has gone down, we now use MarySpeech as default but NaturalReaderSpeech can be used in beta versions.

WARNING : The InMoov3 scripts are working well with MyRobotLab 1.0.1723 release that you can download here.

This quick “Tutorial” is included in the zip file.

1/ Install java: http://java.com/fr/download/win10.jsp
2/ Install Arduino IDE or update it’s library:
https://www.arduino.cc/en/Main/Software
3/Flash your Arduino board with the included MRLComm.ino
4/Set the Port com of your Arduino in device manager to 115200BAUD.
5/Install Google Chrome and set it as default (for voice recognition)
6/Set the folder “Myrobotlab” as C:/Myrobotlab and keep everything inside
6/Unzip the folder “myrobotlab.1.0.1723″ as C:/Myrobotlab/myrobotlab.1.0.1723. At this point myrobotlab.jar is functional.
7/In C:/Myrobotlab/myrobotlab.1.0.1723, Edit “mrl.bat” and set the correct paths. This is to kill the Java agents and to re-open automaticaly your prefered script.
8/Download a InMoov3 FULL script at:
https://github.com/MyRobotLab/pyrobotlab/blob/master/home/hairygael/InMoov3.Deep.AB.V7.py
9/Edit your InMoov3 Python script and check paths are correctly set:
gesturesPath = “C:\Myrobotlab\ProgramAB bots\gestures”
aimlPath = “C:/Myrobotlab/myrobotlab.1.0.1723/develop/ProgramAB”
aimlBotName = “inmoovWebKit”
aimlUserName = “YourName” (change this to your name)
10/In C:/Myrobotlab/myrobotlab.1.0.1723, double click on mrl.bat
11/Once everything is launched, Clik on the red Microphone of Chrome and say something, InMoov should respond. If it does not respond you need to go into the microphone settings of Chrome.(step1 to 6)
12/Say “close your right hand”, and the right hand should close. VOILA !

 

VERSION 1.0.1412:

WARNING : The InMoov3 scripts are working well with MyRobotLab 1.0.1412 release that you can download here.

This quick “Tutorial” is included in the zip file.

1/ Install java: http://java.com/fr/download/win10.jsp
2/ Install Arduino IDE or update it’s library:
https://www.arduino.cc/en/Main/Software
3/Flash your Arduino board with the included MRLComm.ino
4/Set the Port com of your Arduino in device manager to 115200BAUD.
5/Install Google Chrome and set it as default (for voice recognition)
6/Set the folder “Myrobotlab” as C:/Myrobotlab and keep everything inside
6/Unzip the folder “myrobotlab.1.0.1412″ as C:/Myrobotlab/myrobotlab.1.0.1412. At this point myrobotlab.jar is    functional.
7/In C:/Myrobotlab/myrobotlab.1.0.1412, Edit “mrl.bat” and set the correct paths. This is to kill the Java agents and to re-open automaticaly your prefered script.
8/Download a InMoov3 FULL script at:
https://github.com/MyRobotLab/pyrobotlab/blob/master/home/hairygael/InMoov3.Deep.AB.V4.py
9/Edit your InMoov3 Python script and check paths are correctly set:
gesturesPath = “C:\Myrobotlab\ProgramAB bots\gestures”
aimlPath = “C:/Myrobotlab/myrobotlab.1.0.1412/develop/ProgramAB”
aimlBotName = “inmoovWebKit”
aimlUserName = “Gael” (change this to your name)
botVoice = “Ryan”
10/In C:/Myrobotlab/myrobotlab.1.0.1412, double click on mrl.bat
11/Once everything is launched, Clik on the red Microphone of Chrome and say something, InMoov should respond. If it does not respond you need to go into the microphone settings of Chrome.(step1 to 6)
12/Say “close your right hand”, and the right hand should close. VOILA !


Many explanations of the below older version are still very useful. So you might want to read it as well.

 

OLDER VERSION 1.0.107:

WARNING : The InMoov2 scripts are working well with MyRobot Lab 1.0.107 release that you can download here.

There is also a tuto done on the site of MyRobotLab : How to start new MyRobotLab

A tutorial video done by Alessandro:

This is a older version installation technique:

Lets try to do this in order, I assume here you are using Windows.
Make sure your microphone and output speakers are correctly set in your Windows/Control panel/Hardware sound preferences

Download the .jar file 1.0.xx here

Create a folder in- C:\MyRobotLab

In that folder create another folder- C:\MyRobotLab\Myrobotlab1.0.xx

Move the .jar file in to the folder Myrobotlab1.0.xx-  C:\MyRobotLab\Mrobotlab1.0.56\myrobotlab.jar

Double click on: myrobotlab.jar

This will open the GUI of MRL(myrobotlab)

Go into tab “runtime” select “inmoov”, right click and Install.

The GUI will download components and prompt to agree for a restart, click OK

Do the same for to install “arduino”

Do the same to install “python”

Now, go into tab “runtime” select “arduino”, right click and Start

Give a name: arduino

Go in the tab “arduino”

Copy from the editor window, the whole text of MRLComm.ino

Close MRL(myrobotlab)

Open the Arduino IDE (arduino software)

Paste in the editor window the whole text of MRLComm.ino

Select in tools your board type and COM port.

Compile and Upload to Your Arduino board

Close the Arduino IDE

Go back in to the folder Myrobotlab1.0.56
Double click on: myrobotlab.jar
This will open the GUI of MRL
Go into tab “runtime” select “python”, right click and Start.
Give a name: python

In the GUI go into file/open the InMoov2.minimal.py script you downloaded at the beginning of this tuto.

On the script modify the COM port according to your arduino board port.

You can save the script for the next time in file/save

Click on Execute.

You now should be able to voice control the hand with the voice commands that are on the script.

For exemple: close hand or open hand…

You can also use the sliders to trigger manually the servos.

The next time you want to re-launch MRL:

First make sure that there is no java.exe or javaw.exe (zombies) still running by opening Task Manager and killing the Zombies.
Go back in to the folder Myrobotlab 1.0.XX
Double click on: myrobotlab.jar
This will open the GUI of MRL
Go into file/open choose the script you want
Click on Execute.

 

Saving your own settings for InMoov in MyRobotLab:

You simply need to have a script in which you set your desired positions.
Here bellow is a minimal script to understand the basic of the hand.
https://github.com/MyRobotLab/pyrobotlab/blob/9eb96ed1d094b23f5bfbce843251f81d225b3e8b/toSort/InMoov2.minimal.py
Here is my complete script, which allows you to do all gestures with voice speaking commands t the robot.
https://github.com/MyRobotLab/pyrobotlab/blob/master/toSort/InMoov2.full3.byGael.Langevin.1.py

To do so, in MRL install the python service if you haven’t done that already.

Copy paste the script into the python tab. (make sure to copy the raw file in github, because python is very delicate with indentation)

Save the file through the python tab where you like it.

Now modify the script according to your settings.(limit of your servos)

Once ready save the file again.

Next time when you re open MRL, open up the python script which contains your settings.

And you are good to execute.

As a exemple these are my servo settings for eyes and head in the above script:

By default InMoov Services sets the servos limits as shown in the bellow hardware map:

http://inmoov.fr/default-hardware-map/

 

Blog: 12/12/2012 : inmoovs-brain-at-work

Comments 10

    • Profile photo of Gael Langevin

      The latest built gets installed the same way, but the minimal scripts are different. Because I am not yet satisfied (13/06/16) with the latest build to run my complete inmoov, I haven’t yet released new scripts.
      Let me know, or get directly on MRL shoutbox for to get some help.

Leave a Reply