Omron HVC-P2 (Second Camera) icon Omron HVC-P2 (Second Camera) Windows ARC plugin for Omron HVC-P/HVC-P2: Python-based face/body/hand detection, gaze, age/gender, expressions and recognition; dual-camera support. Try it →
Asked — Edited

I Have Runaway Scripts

Most of my scripts work just fine.

I have them controlling the Roomba Movement panel.

I can start all of them by the Speech Recognition.

I need to STOP them with speech recognition.

I have an Explore script and a Roam script which if for Navigation. It is patterned very much off of the two Examples for Navigation. But, it just won't stop no matter what I do. They will sometimes stop if they are controlled by the script manager,by hitting the Stop button, but, only sometimes.

I have tried the controlcommand("scriptname",ScriptStop) (this may not be the correct syntax above, I don't have the manual in front of me, but I got it correct unless the manual is wrong.)

I have tried Halt(), Stop()

They just keep going. I remove the Movement Panel and make another one. They just keep going and going like the Every-Ready Battery.

Please help!


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

If your script is being executed by another script or control, then stopping it will only stop it once. you have to stop the control that is executing it.

#2  

I am calling it from the speech recognition. Thanks for the Update.