Package ftclib.subsystem
Class FtcMotorGrabber
java.lang.Object
ftclib.subsystem.FtcMotorGrabber
This class implements a platform dependent Motor Grabber Subsystem. A Motor Grabber consists of one or two motors.
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 Motor Grabber. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFtcMotorGrabber
(String instanceName, FtcMotorGrabber.Params params) Constructor: Create an instance of the object. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the created motor grabber.
-
Field Details
-
grabber
-
-
Constructor Details
-
FtcMotorGrabber
Constructor: Create an instance of the object.- Parameters:
instanceName
- specifies the instance name.params
- specifies the motor grabber parameters.
-
-
Method Details
-
getGrabber
This method returns the created motor grabber.- Returns:
- motor grabber.
-