Class FtcServoGrabber

java.lang.Object
ftclib.subsystem.FtcServoGrabber

public class FtcServoGrabber extends Object
This class implements a platform dependent Servo Grabber Subsystem. A Servo Grabber consists of one or two servos. 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

    • FtcServoGrabber

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

    • getGrabber

      public TrcServoGrabber getGrabber()
      This method returns the created servo grabber.
      Returns:
      servo grabber.