setAcceleration

setAcceleration(port, value, ezb index);

Parameters

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

Description

Set the acceleration 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 Acceleration feature.

Example

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


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