Cognitive Emotion icon Cognitive Emotion Uses Microsoft Cognitive Emotion cloud to analyze camera images, returning emotion descriptions and confidence for speech/output (requires internet). Try it →
USA
Asked — Edited

Use Multiple Tracking Script

Hi, i try use 2 script in 'Tracking Start' or ' Tracking end' but i can't do it.

User-inserted image

Any solution for use 2 script in the same line?

i need move my servo from 50 to 60, and after back to 50.

Thanks a lot (:


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
#1  

Hi yes just start a separate script panel which moves your servo to one position then perhaps a pause and back again.

You use this

ControlCommand("moveservo1", scriptStart)

Create a script panel and name it moveservo1 and another called moveservo2

e.g. The tracking start runs moveservo1 and tracking end runs moveservo2

check out the Procedural examples in ARC

Hope this helps Neil

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

Mago, press the EXAMPLES button to view examples of scripting with procedures:)