HelloRobyn to InMoov2.0 attempt [Solved] and [Worky]

This is a first test to see if we could get the HelloRobyn script of Markus to work with InMoov2.0

 

[[InMoov2.full3.byGael.Langevin.1.py]]


Comment viewing options

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

You miss

You miss :
ear.addListener("recognized", python.name, "heard", String().getClass());

Put it before the def heard() function

Alessandruino's picture

Sorry , I forgot that was in

Sorry , I forgot that was in 1695

Use this :

ear.addListener("recognized", python.name, "heard")

Alessandruino's picture

And of course Use

And of course

Use just

ear.startListening()

hairygael's picture

Ah okay, I will modify that 

Ah okay, I will modify that.

But I still can use this?

ear.startListening("sorry | how do you do | goodbye | i love you")

Or should I just have

ear.startListening()

 

dwilli9013's picture

Check your pir ports Gael

You have you pir ports defined with different numbers than the top com port numbers

Dont know if it matters but worth a look

bhouston's picture

I got it working on InMoov 2

Got it working, here's how I fixed up the script.

Added "Helvar = 1" after start mouth

Changed all "InMoov references to "i01

Added i01 in front of "mouth.speak"

Created def armsdown():

                def lookleft():

and It Worky

GroG's picture

Heh, that was quick guys ..

Heh,

that was quick guys .. Nice work !