
MovieMaker
USA
Asked
— Edited
NeverMind. I did something Stupid. I installed the new update on my master computer and then ran the program on the robot without the update. so, there wasn't the newly created function on the robot. Crazy.
*eek*
But, I do have a question. When I am running the Roomba, I have the script checking for the objects and it is going forward. She will go forward until I say stop or there is an object in front. But I have it in a loop to continue testing for objects, and I use speech recognition windows to say stop the script. But when I stop the script, she doesn't stop, the Roomba continues to go forward. I have to then say Robot Stop. Is there a way to stop the robot when I stop the script?
thanks,
I am enjoying that subroutine.
The script actually did not work for me when I got it. I found out that my sharp sensors were flaky. So, I changed it to work with only the PING units and I guess it will be ok. But work or not, it was a GREAT tutorial. And, I am getting some of my confidence back.
For example in the looping code, do something like this..
Code:
And in your Exit Command for Speech REcognition, you will set $exit = 1
You start the script the same way you'd normally start, by ControlCommand("MyScript", ScriptStart)
Mel