Package ftclib.subsystem
Class FtcDifferentialServoWrist
java.lang.Object
ftclib.subsystem.FtcDifferentialServoWrist
This class implements a platform dependent Differential Servo Wrist Subsystem. A Differential Servo Wrist consists
of two servos controlling two degrees of freedom. The wrist can tilt as well as rotate. When the two servos turn
in the same direction on the mounted axis, the wrist tilts up and down. When the two servos turn in opposite
directions, the wrist rotates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class contains all the parameters of the Differential Servo Wrist. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFtcDifferentialServoWrist
(String instanceName, FtcDifferentialServoWrist.Params params) Constructor: Create an instance of the object. -
Method Summary
Modifier and TypeMethodDescriptiongetWrist()
This method returns the created differential servo wrist.
-
Field Details
-
wrist
-
-
Constructor Details
-
FtcDifferentialServoWrist
Constructor: Create an instance of the object.- Parameters:
instanceName
- specifies the instance name.params
- specifies the servo wrist parameters.
-
-
Method Details
-
getWrist
This method returns the created differential servo wrist.- Returns:
- differential servo wrist.
-