setVelocity(port, velocity, ezb index);


port The servo port
velocity The velocity value
ezb index (optional) The ezb index


Set the velocity of a servo. The servo and servo driver must support this feature. For example, check the Dynamixel robot skill because some of their servos support the Velocity feature.


// Set the velocity of the servo v1 to 10. By default, this will use EZB #0 because no ezb is specified
Servo.setVelocity(v1, 10);

// Specify the velocity of servo V1 on ezb index #3
Servo.setVelocity(v1, 10, 3);