Using programAB to run methods with Inmoov

I used programAB + webkitspeechrecognition to call these methods. I am on my way to utilizing my chatbot to control Inmoov entirely.

Thank you Grog for helping me to figure out passing the response text to my jaw moving script.

GroG's picture

Great Progress Tdp ! ... The

Great Progress Tdp ! ...
The voice you picked out sounds like HAL :)

More Vids ! :D

brotherbrown831's picture

Great work,  Are your scripts

Great work, 

Are your scripts on GitHub?

I have been wanting to fix the jaw movement for a while. 

tdp378's picture

not yet brotherbrown but I

not yet brotherbrown but I will add them. 

I basically used JHacks original talk() script before the mouthcontrol service was created. It works really well with chatbot now that i figured out how to pass the respnse text to the method.

kwatters's picture

It's alive!

That's amazing!  I love seeing these sorts of videos!  Great work!  Did you use OOB tags to trigger the arm movements?  We'll see about fixing the actual mouth control service...  It's been broken since we refactored the speech synthesis services...

tdp378's picture

Yes sir I did.  Right now i

Yes sir I did.  Right now i am just calling some methods I created in MRL. Pretty simple actually. 

below is my aiml file

<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">
 
<category>
<pattern>CURL YOUR LEFT ARM</pattern>
<template> curling my left arm
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>curl()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>RELAX</pattern>
<template> relaxing
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>relax()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>ATTACH EVERYTHING</pattern>
<template> attaching everything
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>attachEverything()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>DISCONNECT EVERYTHING</pattern>
<template> disconnecting everything
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>disconnectEverything()</param>
</mrl>
</oob>
</template>
</category>
 
 
</aiml>