Robotis Openmanipulatorx icon Robotis Openmanipulatorx Inverse kinematics for Robotis OpenManipulatorX: compute joint angles and MoveTo 3D (cm) positions, supports camera-to-CM mapping for pick-and-place. Try it →
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

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#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?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#5  

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

User-inserted image