Class FrcIntake

java.lang.Object
frclib.subsystem.FrcIntake

public class FrcIntake extends Object
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.
  • Constructor Details

    • FrcIntake

      public FrcIntake(String instanceName, FrcIntake.Params params)
      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

      public TrcIntake getIntake()
      This method returns the intake object.
      Returns:
      intake object.