rotate

xod-dev/servo/rotate

Rotates a servo shaft to the given angular position.
rotate
@/rotate
Rotates a servo shaft to the given angular position.
VALnumber
The target shaft rotation position in the [0; 1] range. The real angle/pulse values corresponding to the 0 and 1 boundaries are defined by the servo device node.
DEV@/servo-device
The servo device
DOpulse
Set the new target rotation value for the given device.
rotate
VAL
DEV
DO
ACK
DEV'
DEV'@/servo-device
The servo device
ACKpulse
Pulses to acknowledge the new target. It will take time for the servo to complete the order.
To use the node in your project you should have the xod-dev/servo library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.