Asked — Edited

I Got My Navigation Working. . .

This is GREAT News for me. But, I can't seem to make it stop without turning the ezb off. I put a voice command to stop the script, but it keeps right on going. Is there a simple way I can place it inside of the navigation script instead of outside in the speech recognition?

any help would be apreciated.

Thanks,


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
Synthiam
#1  

Stopping a script won't stop the robot. You will need to Stop() also.

A script executes a bunch of commands. The commands are listed in order and read from the top to the bottom. Each command performs a specific function. For example, the command Forward() will instruct the active Movement Panel to begin moving forward. If Forward() is your only command in a script, then the robot will drive forward for ever unless told to Stop(), Left(), Right or Reverse().

In your Speech Command, stop the script, then Stop()


ControlCommand(ScriptStop, "My Script")
Stop()
#2  

OK, that is what I was doing wrong. Thanks. You are a SuperMan!

:D

#4  

Stupid question. But, how would I put two commands on the same line in speech recognition?

PRO
Synthiam
#5  

When editing any single line script, press the little icon to the right. It will open the multi-line dialog.

User-inserted image