Class FtcMotorGrabber

java.lang.Object
ftclib.subsystem.FtcMotorGrabber

public class FtcMotorGrabber 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.
  • Field Details

  • Constructor Details

    • FtcMotorGrabber

      public FtcMotorGrabber(String instanceName, FtcMotorGrabber.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.