java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankHardwareDevice
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankServoController
All Implemented Interfaces:
com.qualcomm.robotcore.hardware.HardwareDevice, com.qualcomm.robotcore.hardware.ServoController, com.qualcomm.robotcore.hardware.ServoControllerEx

public class BlankServoController extends BlankHardwareDevice implements com.qualcomm.robotcore.hardware.ServoControllerEx
  • Constructor Details

    • BlankServoController

      public BlankServoController()
  • Method Details

    • setServoPwmRange

      public void setServoPwmRange(int servo, @NonNull @NotNull com.qualcomm.robotcore.hardware.PwmControl.PwmRange range)
      Specified by:
      setServoPwmRange in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • getServoPwmRange

      @NonNull @NotNull public com.qualcomm.robotcore.hardware.PwmControl.PwmRange getServoPwmRange(int servo)
      Specified by:
      getServoPwmRange in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • setServoPwmEnable

      public void setServoPwmEnable(int servo)
      Specified by:
      setServoPwmEnable in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • setServoPwmDisable

      public void setServoPwmDisable(int servo)
      Specified by:
      setServoPwmDisable in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • isServoPwmEnabled

      public boolean isServoPwmEnabled(int servo)
      Specified by:
      isServoPwmEnabled in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • setServoType

      public void setServoType(int servo, com.qualcomm.robotcore.hardware.configuration.typecontainers.ServoConfigurationType servoType)
      Specified by:
      setServoType in interface com.qualcomm.robotcore.hardware.ServoControllerEx
    • pwmEnable

      public void pwmEnable()
      Specified by:
      pwmEnable in interface com.qualcomm.robotcore.hardware.ServoController
    • pwmDisable

      public void pwmDisable()
      Specified by:
      pwmDisable in interface com.qualcomm.robotcore.hardware.ServoController
    • getPwmStatus

      public com.qualcomm.robotcore.hardware.ServoController.PwmStatus getPwmStatus()
      Specified by:
      getPwmStatus in interface com.qualcomm.robotcore.hardware.ServoController
    • setServoPosition

      public void setServoPosition(int servo, double position)
      Specified by:
      setServoPosition in interface com.qualcomm.robotcore.hardware.ServoController
    • getServoPosition

      public double getServoPosition(int servo)
      Specified by:
      getServoPosition in interface com.qualcomm.robotcore.hardware.ServoController