Package frclib.subsystem
Class FrcIntake
java.lang.Object
frclib.subsystem.FrcIntake
This class implements a platform dependent Intake Subsystem. An Intake consists of a DC motor or a continuous
rotation servo. Optionally, it may have entry and exit sensors to detect the game element entering or exiting the
Intake and allows callback actions such as stopping the Intake motor.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class contains all the parameters of the Intake. -
Constructor Summary
ConstructorsConstructorDescriptionFrcIntake
(String instanceName, FrcIntake.Params params) Constructor: Create an instance of the object. -
Method Summary
-
Constructor Details
-
FrcIntake
Constructor: Create an instance of the object.- Parameters:
instanceName
- specifies the instance name.params
- specifies the parameters to set up the actuator.
-
-
Method Details
-
getIntake
This method returns the intake object.- Returns:
- intake object.
-