Class FrcMotorGrabber

java.lang.Object
frclib.subsystem.FrcMotorGrabber

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

    • FrcMotorGrabber

      public FrcMotorGrabber(String instanceName, FrcMotorGrabber.Params params)
      Constructor: Create an instance of the object.
      Parameters:
      instanceName - specifies the instance name.
      params - specifies the motor grabber parameters.
  • Method Details

    • getGrabber

      public TrcMotorGrabber getGrabber()
      This method returns the created motor grabber.
      Returns:
      motor grabber.