Class BlankServoController
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice
com.qualcomm.robotcore.hardware.HardwareDevice.Manufacturer
Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.ServoController
com.qualcomm.robotcore.hardware.ServoController.PwmStatus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.qualcomm.robotcore.hardware.ServoController.PwmStatus
double
getServoPosition
(int servo) com.qualcomm.robotcore.hardware.PwmControl.PwmRange
getServoPwmRange
(int servo) boolean
isServoPwmEnabled
(int servo) void
void
void
setServoPosition
(int servo, double position) void
setServoPwmDisable
(int servo) void
setServoPwmEnable
(int servo) void
setServoPwmRange
(int servo, com.qualcomm.robotcore.hardware.PwmControl.PwmRange range) void
setServoType
(int servo, com.qualcomm.robotcore.hardware.configuration.typecontainers.ServoConfigurationType servoType) Methods inherited from class org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankHardwareDevice
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode
-
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 interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
getServoPwmRange
@NonNull @NotNull public com.qualcomm.robotcore.hardware.PwmControl.PwmRange getServoPwmRange(int servo) - Specified by:
getServoPwmRange
in interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
setServoPwmEnable
public void setServoPwmEnable(int servo) - Specified by:
setServoPwmEnable
in interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
setServoPwmDisable
public void setServoPwmDisable(int servo) - Specified by:
setServoPwmDisable
in interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
isServoPwmEnabled
public boolean isServoPwmEnabled(int servo) - Specified by:
isServoPwmEnabled
in interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
setServoType
public void setServoType(int servo, com.qualcomm.robotcore.hardware.configuration.typecontainers.ServoConfigurationType servoType) - Specified by:
setServoType
in interfacecom.qualcomm.robotcore.hardware.ServoControllerEx
-
pwmEnable
public void pwmEnable()- Specified by:
pwmEnable
in interfacecom.qualcomm.robotcore.hardware.ServoController
-
pwmDisable
public void pwmDisable()- Specified by:
pwmDisable
in interfacecom.qualcomm.robotcore.hardware.ServoController
-
getPwmStatus
public com.qualcomm.robotcore.hardware.ServoController.PwmStatus getPwmStatus()- Specified by:
getPwmStatus
in interfacecom.qualcomm.robotcore.hardware.ServoController
-
setServoPosition
public void setServoPosition(int servo, double position) - Specified by:
setServoPosition
in interfacecom.qualcomm.robotcore.hardware.ServoController
-
getServoPosition
public double getServoPosition(int servo) - Specified by:
getServoPosition
in interfacecom.qualcomm.robotcore.hardware.ServoController
-