Package ftclib.motor

Class FtcServoActuator

java.lang.Object
ftclib.motor.FtcServoActuator

public class FtcServoActuator extends Object
This class creates an FRC platform specific servo with the specified parameters.
  • Field Details

    • primaryServo

      private final TrcServo primaryServo
  • Constructor Details

    • FtcServoActuator

      public FtcServoActuator(FtcServoActuator.Params params)
      Constructor: Create an instance of the object.
      Parameters:
      params - specifies the parameters to set up the actuator servo.
  • Method Details

    • getServo

      public TrcServo getServo()
      This method returns the created primary servo.
      Returns:
      primary servo.