Custom Movement Panel V2 icon Custom Movement Panel V2 — Custom Movement V2 panel for ARC: scripts for F/R/L, Reverse, roll left/right, up/down with speed mapping to PWM for drones, mecanum & custom drives Try it →
 

Waitformove

Servo.waitForMove(port, [ezbIndex], [timeoutMS])

Parameters

port Servo port to wait for movement.
ezbIndex (optional) Board index of the EZB to use.
timeoutMS (optional) Number of milliseconds to wait before timeout.

Returns

The position of the servo at the specified port that has changed. Returns -1 if timeout

Description

Suspends execution of the script until the commanded position of the servo at the specified port changes. The commanded position can be changed either by the user from another skill, or another script.