Package frclib.subsystem
Class FrcMotorGrabber
java.lang.Object
frclib.subsystem.FrcMotorGrabber
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. -
Constructor Summary
ConstructorsConstructorDescriptionFrcMotorGrabber
(String instanceName, FrcMotorGrabber.Params params) Constructor: Create an instance of the object. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the created motor grabber.
-
Constructor Details
-
FrcMotorGrabber
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.
-