Class XRPServo
java.lang.Object
org.wpilib.xrp.XRPServo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()Get the servo angle.doubleGet the servo position.voidsetAngle(double angleDegrees) Set the servo angle.voidsetPosition(double position) Set the servo position.
-
Constructor Details
-
XRPServo
-
-
Method Details
-
setAngle
Set the servo angle.- Parameters:
angleDegrees- Desired angle in degrees
-
getAngle
-
setPosition
Set the servo position.- Parameters:
position- Desired position (Between 0.0 and 1.0)
-
getPosition
-