EZB Connections icon EZB Connections Add and manage up to 255 EZ-B I/O controller connections in ARC, select COM/IP ports or device addresses to connect or remove devices. 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

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

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:)