ProgramAB Gestures

I've put aside MouthControl for the moment and tried to get the my InMoov bot to respond to my voices commands.

I have the "gestures.aiml" file in the aiml directory and MRL seems to be loading it. But when I speak the command, my words are correctly recognised but the bot does not respond. With either the action or the template speech. I found a forum message saying  I need to say "ENTER GESTURES" to get into the right mode, but this didn't work either.

Any ideas what could be going wrong? I was expecting to here the template speech even if the MRL OOB was not set up correctly?

Rekabuk

moz4r's picture

Hi rekabuk, can you post a

Hi rekabuk, can you post a sample script to test ?

rekabuk's picture

Well it's not that

Well it's not that simple....

I don't really have a script, I do the normal setup but it's all in my InMoov based bot class. ProgramAB works and I can have a conversation with my bot, I just can't change the topic to GESTURES and get the bot to do the OOB gestures.

Andrew

rekabuk's picture

topic.aiml

Ah... maybe I don't have a topic.aiml file, so ProgramAB doesn't know how to change topics!!!

I'll chaeck later, not working from home today so I can't 'play' :0(

Some useful links for other who may stumble across this thead... (and me when I forget).

http://myrobotlab.org/service/programab

http://myrobotlab.org/content/i-would-switch-programab-robots-personalities

Rekabuk

rekabuk's picture

Ooooh this is so frustrating

Ooooh this is so frustrating I think I see the problem now and my robot is 80 miles away!!! I might have to take the afternoon off work - or even better give up work!!!

Rekabuk

moz4r's picture

hehe , you can add a new

hehe , you can add a new enter gesture keyword, or simply delete the topic tag, so you just need to say direcly the gesture keyword, exemple "rest" . by default "enter gesture" keyword is now deactivated.

https://github.com/MyRobotLab/inmoov/blob/master/InMoov/chatbot/bots/en/...

if you want a topic lock :

https://github.com/MyRobotLab/inmoov/blob/master/InMoov/chatbot/bots/en/...

 

rekabuk's picture

Oh that's helpful, I think I

Oh that's helpful, I think I see what does now too.
So everything in a topic only applies when that topic is active and everything withou a topic always applies?
I think I want to set a topic for my son, so that when I introduce Eric (my robot) to Danny (my son) Eric can say some special things for him.
Well that's the plan. I started this when he was two ready for when he starts to speak - he's now 4 1/2 so I need to get cracking.
Thank you moz4r I'll try it in the morning.

rekabuk's picture

If I say "nod head" my bot

If I say "nod head" my bot will nod his head by calling a function in the bot's service - but not always? Sometimes it will give me a random answer???

He will nod his head then speak - the jaw moves but there is no sound, the correst speaking text is displayed in the console window?

Still can't seem to change topics ?

<category><pattern>GESTURES</pattern>
<template>Entering into the gestures topic.
      <think><set name="topic">GESTURES</set></think>
</template>
</category>

<category><pattern>GESTURES *</pattern>
<template>
   <srai>GESTURES</srai>
</template>
</category>

<category><pattern>* GESTURES</pattern>
<template>
   <srai>GESTURES</srai>
</template>
</category>

<category><pattern>* GESTURES *</pattern>
<template>
   <srai>GESTURES</srai>
</template>
</category>

 

rekabuk's picture

Where to start?

I copied all of the files from Alice2 to start my brain - this may have been a mistake. It is really difficult to work out how it it generating the responses it is - some of them are great - others I'd like to tweak, but I can't see what generated the response to tweak it. morz4r is there a tool to help edit the aiml files?

Rekabuk