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.
DEV@/servo-device
The servo device
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.
DOpulse
Set the new target rotation value for the given device.
rotate
DEVDEVVALVALDODODEV'DEV'ACKACK
ACKpulse
Pulses to acknowledge the new target. It will take time for the servo to complete the order.
DEV'@/servo-device
The servo device
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.