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.

[SETUP & PREREQUISITES]
[SOON STABLE RELEASE & OFFICIAL DOC]

1/ Download & update
JAVA – https://www.java.com/fr/download/manual.jsp
( if your computer is 64bit, please take 64bit version )
CHROME – https://www.google.fr/chrome/browser/desktop/index.html ( set it to default )
ARDUINO – https://www.arduino.cc/en/Main/Software
2/ Set the Port com of your Arduino(s) in device manager to 115200 BAUD.
3/ Create a new directory [mrl] on root of your disk like this C:\mrl\
4/ Download script : myrobotlab.1.0.2340.zip and extract like this in your C:\mrl\

tutoMRL1

 

 

 

 

 

 

5/ Click START_INMOOV.bat and wait a while for MRL to complete the install and start.
6/ Close MRL and upload the MRLcomm.ino in your arduino from C:\mrl\myrobotlab.1.0.xxxx\resource\Arduino\MRLComm
7/ You can setup your arduino portCOM ,language,voice by editing inmoov.config in config folder
8/ Edit to activate as True or False the inmoovSkeleton config files regarding each body part you have built.

9/ Set your min and max output for each servo and save.

10/Click START_INMOOV.bat

More info for this set up on Github: https://github.com/MyRobotLab/inmoov/wiki/CONFIG-FILES-DOCUMENTATION

###########################################################################

############################################################################

Official  Older versions:

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 !

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/230FjTTJw6s” frameborder=”0″ allowfullscreen></iframe>

 

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.

 

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 29

    • 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.

  1. Profile photo of ensernet

    Gail

    Thanks for getting back to me. I got the InMoov3.minimal working some time ago and wanted to get more of the functions going. I have InMoov3.Deep.AB.V7.py working to some degree. It will do gestures like giving and fighter and uses MarySpeech.

    I have been trying to find books on python scripting that will help me understand so I can get more of the gestures going. Do you know of any books that might help.

    Thanks again for your help. Being an engineer myself I have been very impressed with how well all of my InMoov has fit together. I am just not up to speed on this python scripting

  2. Profile photo of Max

    Hi!

    7/ “from C:\MRL\resource\Arduino\MRLComm”
    After running START_INMOOV in folder a lot of subfolders, ant MyRobotLab run(correctly? maybe not), but there is not resource folder.
    Also the bat script give a lot of 404 errors at running of github.

    Maybe you can advise something? Or there newer version?

    • Profile photo of Gael Langevin

      Hello,
      If you followed the latest tutorial regarding installing MyRobotLab with the InMoov-develop directories, it is simple to run the kinect.
      Make sure that you have set your service_E_OpenNI.config.default as:True.
      Make sure that you have installed the drivers for your Kinect 360 and that it works properly in Windows.
      Make sure that all servos are properly calibrated on your robot using the config files.
      Once you have launched MyRobotlab by double clicking START_INMOOV.bat, you can say to the robot “body capture”, or “start kinect”.
      The skeleton might take some time before being activated on your body.
      To stop the kinect from capturing, say “freeze body capture”.

  3. Profile photo of Olli

    Hello InMoov builders! I wanted to ask you for help in disabling all the random preprogrammed movement that the InMoov does (eg. moving head and rolling eyes). It somehow overrides our own code and we are not sure where this behavior is originated from. We are using the newest version of MRL. Thanks!

  4. Profile photo of Talha Sufyan

    hello INMOOV makers! I am inspired alot from this robot project. I want to make my own to introduce it in my country. I want your help. Can you please share me complete programming(codes and scripts) of both hands with a video tutorial.
    because I am starting it from hands.

    I will be very greatfull to you. THANKS!

Leave a Reply