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
It sounds like the voice recognition is indeed hearing the robot speak. You can add a speech recognition ControlCommand() at the start of the script which pauses the speech recognition, and add another speech recognition ControlCommand() to un-Pause it at the end of the script. If you open up a script editor and right click on the text input field, you hill see a list of controls that have all of their command codes (or cheat sheets as they are now called). That should help get the results you're after.
Thank you so much! That did the trick!