Package ftclib.subsystem
Class FtcServoGrabber
java.lang.Object
ftclib.subsystem.FtcServoGrabber
This class implements a platform dependent Servo Grabber Subsystem. A Servo Grabber consists of one or two servos.
Optionally, it may have a sensor to detect the game element entering the proximity of the grabber to activate the
grabbing action.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class contains all the parameters of the Servo Grabber. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFtcServoGrabber
(String instanceName, FtcServoGrabber.Params params) Constructor: Create an instance of the object. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the created servo grabber.
-
Field Details
-
grabber
-
-
Constructor Details
-
FtcServoGrabber
Constructor: Create an instance of the object.- Parameters:
instanceName
- specifies the instance name.params
- specifies the servo grabber parameters.
-
-
Method Details
-
getGrabber
This method returns the created servo grabber.- Returns:
- servo grabber.
-