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

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

6 years 11 months ago

In reply to by rekabuk

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

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.

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>

 

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