set Position
Sets the current position of the servo, expressed as a fraction of its available range. If PWM power is enabled for the servo, the servo will attempt to move to the indicated position.
Important ProfiledServo Note: Since this class requires continuous update with a motion profile, it is important that this method is being called periodically if one is being used; this is similar to how setPower
has to be called periodically in Motor to update system controllers.
Parameters
target Position
the position to which the servo should move, a value in the range [0.0, 1.0]
See also
Servo Controller