How to start virtual inmoov?

958 views
Skip to first unread message

James Zhang

unread,
Jun 1, 2017, 5:34:02 AM6/1/17
to InMoov
Dear All,

I am trying to work on the virtual inmoov recently. I followed the instructions on the website http://myrobotlab.org/content/virtual-inmoov. The myrobotlab and blender were successfully installed. It worked fine until the last step (step 5). I cannot run BlenderVirtualInMoovControl.py in the myrobotlab GUI to control the virtualInmoov character. Based on my observation, the service was connected but errors were reported for the commands. Does anyone has idea how to solve this problem? Does the virtualinmoov need the Arduino to be installed?

gael langevin

unread,
Jun 1, 2017, 10:42:34 AM6/1/17
to James Zhang, InMoov
Hello James,
We have a very easy set up for to run InMoov (complete or not) in MyRobotLab with a configuration set of files which runs the virtual InMoov by default.
Virtual InMoov runs only with java 64bit version
Virtual InMoov can run without arduino, it creates virtual Arduino.

https://github.com/MyRobotLab/inmoov/wiki/HOWTO---SETUP-&-PREREQUISITES

Follow these simple steps here for to use only Virtual InMoov:
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 default )
2/ Create a new folder [mrl] on root of your disk
3/ Download myrobotlab.jar beta : https://s3.amazonaws.com/mrl-bucket-02/current/develop/myrobotlab.jar
4/ Download the launcher : https://github.com/MyRobotLab/inmoov/blob/master/START_INMOOV.bat
5/ DoubleClick START_INMOOV.bat and wait for the install of MRL to proceed.
6/ Close MRL after it says "install finished"
7/ DoubleClick again START_INMOOV.bat to re launch MRL, Virtual InMoov and voice will be automatically working.


Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-06-01 11:34 GMT+02:00 James Zhang <bj4hs0...@sina.com>:
Dear All,

I am trying to work on the virtual inmoov recently. I followed the instructions on the website http://myrobotlab.org/content/virtual-inmoov. The myrobotlab and blender were successfully installed. It worked fine until the last step (step 5). I cannot run BlenderVirtualInMoovControl.py in the myrobotlab GUI to control the virtualInmoov character. Based on my observation, the service was connected but errors were reported for the commands. Does anyone has idea how to solve this problem? Does the virtualinmoov need the Arduino to be installed?

--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.
To post to this group, send email to inm...@googlegroups.com.
Visit this group at https://groups.google.com/group/inmoov.
For more options, visit https://groups.google.com/d/optout.

Dan F

unread,
Jun 4, 2017, 5:53:51 PM6/4/17
to InMoov, bj4hs0...@sina.com
Thank you so much for that. 
I have been struggling to get any kind of results from MRL, and this worked right away and easily.
My 5 year old grandson just spent at least an hour talking with my tablet. 
A question, the chatbot says it will google things and that it can play music, send texts, etc. Is there a way to actually enable it to do these things?

James Zhang

unread,
Jun 6, 2017, 4:02:41 AM6/6/17
to InMoov, bj4hs0...@sina.com
Dear Gael,

Thank you for your answer. Following your instructions, I successfully made everything running. However, when I try to speak some simple commands defined in the inmoov.py file, it just replies me with the chatbot answers. I found errors in starting the 1_AudioFile.py file. The error is pasted below:

1_AudioFile.py
14:46:12.475 [SwingGui_outbox_0] ERROR c.m.net.CommunicationManager - could not
find service i01.opencv to process addListener from sender SwingGui - tearing do
wn route
14:46:12.475 [SwingGui_outbox_0] ERROR c.myrobotlab.framework.Service - removeLi
stener requested i01.opencv.send to be removed - but does not exist
14:46:21.127 [WebGui] ERROR class org.myrobotlab.logging.Logging - ------
java.util.ConcurrentModificationException
        at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source)
        at java.util.TreeMap$EntryIterator.next(Unknown Source)
        at java.util.TreeMap$EntryIterator.next(Unknown Source)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(Map
TypeAdapterFactory.java:206)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(Map
TypeAdapterFactory.java:145)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(Re
flectiveTypeAdapterFactory.java:125)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.wr
ite(ReflectiveTypeAdapterFactory.java:243)
        at com.google.gson.internal.bind.ObjectTypeAdapter.write(ObjectTypeAdapt
er.java:107)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ArrayTypeAdapter.write(ArrayTypeAdapter
.java:93)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(Re
flectiveTypeAdapterFactory.java:125)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.wr
ite(ReflectiveTypeAdapterFactory.java:243)
        at com.google.gson.Gson.toJson(Gson.java:669)
        at com.google.gson.Gson.toJson(Gson.java:648)
        at com.google.gson.Gson.toJson(Gson.java:603)
        at com.google.gson.Gson.toJson(Gson.java:583)
        at org.myrobotlab.codec.CodecMessage.encode(CodecMessage.java:28)
        at org.myrobotlab.service.WebGui.broadcast(WebGui.java:326)
        at org.myrobotlab.service.WebGui.preProcessHook(WebGui.java:1016)
        at org.myrobotlab.framework.Service.run(Service.java:1793)
        at java.lang.Thread.run(Unknown Source)
------

Because the opencv service is missing, I changed the D_OpenCV.py to be 0_OpenCV.py (so does the filename in config), so that it can start at the very beginning. Then I run into another error below:

0_OpenCv.py
1_AudioFile.py
15:49:44.510 [WebGui] ERROR class org.myrobotlab.logging.Logging - ------
java.util.ConcurrentModificationException
        at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source)
        at java.util.TreeMap$EntryIterator.next(Unknown Source)
        at java.util.TreeMap$EntryIterator.next(Unknown Source)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(Map
TypeAdapterFactory.java:206)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(Map
TypeAdapterFactory.java:145)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(Re
flectiveTypeAdapterFactory.java:125)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.wr
ite(ReflectiveTypeAdapterFactory.java:243)
        at com.google.gson.internal.bind.ObjectTypeAdapter.write(ObjectTypeAdapt
er.java:107)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ArrayTypeAdapter.write(ArrayTypeAdapter
.java:93)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(Typ
eAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(Re
flectiveTypeAdapterFactory.java:125)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.wr
ite(ReflectiveTypeAdapterFactory.java:243)
        at com.google.gson.Gson.toJson(Gson.java:669)
        at com.google.gson.Gson.toJson(Gson.java:648)
        at com.google.gson.Gson.toJson(Gson.java:603)
        at com.google.gson.Gson.toJson(Gson.java:583)
        at org.myrobotlab.codec.CodecMessage.encode(CodecMessage.java:28)
        at org.myrobotlab.service.WebGui.broadcast(WebGui.java:326)
        at org.myrobotlab.service.WebGui.preProcessHook(WebGui.java:1016)
        at org.myrobotlab.framework.Service.run(Service.java:1793)
        at java.lang.Thread.run(Unknown Source)
------

15:49:44.539 [varduinoright.mrlcomm] ERROR class org.myrobotlab.arduino.Msg - wr
iteByte overrun - should be  -32,768 <= value <= 32,767 - value = -1810044789
15:49:45.550 [i01.left] ERROR c.myrobotlab.framework.Service - boom goes method
publishPortNames
15:49:45.553 [varduinoleft.mrlcomm] ERROR class org.myrobotlab.arduino.Msg - wri
teByte overrun - should be  -32,768 <= value <= 32,767 - value = 95583691
15:49:45.553 [i01.left] ERROR class org.myrobotlab.logging.Logging - ------
java.lang.NullPointerException
        at org.myrobotlab.framework.Service.out(Service.java:1621)
        at org.myrobotlab.framework.Service.invokeOn(Service.java:1507)
        at org.myrobotlab.framework.Service.invoke(Service.java:1404)
        at org.myrobotlab.service.Serial.getPortNames(Serial.java:678)
        at org.myrobotlab.service.Arduino.getPortNames(Arduino.java:2056)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.myrobotlab.framework.Service.invokeOn(Service.java:1451)
        at org.myrobotlab.framework.Service.invoke(Service.java:1389)
        at org.myrobotlab.framework.Service.run(Service.java:1800)
        at java.lang.Thread.run(Unknown Source)
------

15:49:45.555 [i01.left] ERROR c.myrobotlab.framework.Service - did not find meth
od - publishPortNames(ArrayList)


I get lost. Do you have any idea?

Regards,
James










To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.

gael langevin

unread,
Jun 6, 2017, 5:11:57 PM6/6/17
to James Zhang, InMoov
@Dan, glad to hear it works right out of the box!
We have been really working hard to get this all configured to simplify the whole install process for InMoov.

@James, If you plan to use only the finger starter, you have two options.
  • Use the chatbot. (will require a Google Chrome install and connection)
  • Use ear.commands(will work only with Sphinx, therefore only the voice commands provided in inmoov.py)
Just to say, chatbot is far more complex regarding the potential and you can find the list of commands here:
https://github.com/MyRobotLab/inmoov/blob/master/InMoov/chatbot/bots/en/aiml/_inmoovGestures.aiml

Make sure your config is set like below if you want to use Sphinx

InMoov/config/_InMoov.config.default:

ScriptType=RightSide


InMoov/config/service_A_Chatbot.config.default

isChatbotActivated=False


InMoov/config/service_D_OpenCv.config.default

isOpenCvActivated=False


Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.

Juzheng Zhang

unread,
Jun 6, 2017, 11:18:26 PM6/6/17
to InMoov, bj4hs0...@sina.com
Dear Gael,

Thank you so much for your quick response. I learned a lot from you.

Regards,
James

在 2017年6月7日星期三 UTC+8上午5:11:57,gael langevin写道:

FranksCell Onlymine6969

unread,
Jul 8, 2017, 1:58:48 PM7/8/17
to InMoov
I'm looking at this also.

gael langevin

unread,
Jul 11, 2017, 8:31:25 PM7/11/17
to FranksCell Onlymine6969, InMoov
Nota: Virtual InMoov will require at least  java 8 version and a 64x bit version processor.

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-07-08 19:58 GMT+02:00 FranksCell Onlymine6969 <franksc...@gmail.com>:
I'm looking at this also.

Ashish Agrawal

unread,
Dec 9, 2017, 5:01:21 AM12/9/17
to InMoov
Hey Gael,
I have MRL 1.0.2652 running on Windows 7 64-bit OS. I have Java 8 installed. When I click on the START_INMOOV.bat file, the robot voice says,"Virtual InMoov cannot start. Missing jm3 folder or you do not have a Java 64-bit version."
The path of my jm3 folder is C:\MRL\InMoov\jm3 . What should I do to start Virtual InMoov?
Thanks a lot, for your help Gael.


On Wednesday, July 12, 2017 at 6:01:25 AM UTC+5:30, gael langevin wrote:
Nota: Virtual InMoov will require at least  java 8 version and a 64x bit version processor.

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-07-08 19:58 GMT+02:00 FranksCell Onlymine6969 <franksc...@gmail.com>:
I'm looking at this also.

--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.

gael langevin

unread,
Dec 9, 2017, 5:33:03 AM12/9/17
to Ashish Agrawal, InMoov
Hello Ashish,
Can you refer this to this link:

Normally considering your indications, Virtual InMoov should be starting correctly.
This is typically a recent issue related to the version you are using, this issue needs to be solved before the release of Manticore.

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages