
JonPointer

Hi Everyone,
Please excuse how corny my first test program is, but I'm having trouble with the following script.
sayEZBWait("Hello Grandpa Jim. It's very nice to meet you.")
ControlCommand("Auto Position", AutoPositionAction, "Wave")
Sleep(5000)
sayEZBWait("You guys have fun in Nebraska. I'm going to sit down and have a rest.")
ControlCommand("Auto Position", AutoPositionAction, "sit down")
Sleep(5000)
sayEZB("Good bye")
When I hit run in the edit menu it all runs fine. However, when I start it via the assigned speech recognition phrase "robot say hello" it stops after "I'm going to sit down and rest." And sometimes at that point it issues another speech recognition report "Low confidence: robot say hello (0.75)". When it starts in the first place it reports "robot say hello (0.95)"
Any ideas? I was looking for a way to make sure that the robot didn't listen while it was talking, but can't find it. I did have trouble once where he said the command phrase and got into a loop with himself - I'm using my computer's microphone.
Many thanks!
Jon
Code: