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
It will be easier if you provide a project file please
I got it fixed. I did not have the latest Update. Sorry.
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.
Rather than use a ControlCommand() to stop the script, use a variable.
For example in the looping code, do something like this..
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)
thanks, D.J. -You are the Greatest!!!
Mel
Here's an example of how you'd do it: Example-Script-CustomObjectAvoidance.EZB