Class BlankCRServo
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankHardwareDevice
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankCRServo
- All Implemented Interfaces:
com.qualcomm.robotcore.hardware.CRServo
,com.qualcomm.robotcore.hardware.DcMotorSimple
,com.qualcomm.robotcore.hardware.HardwareDevice
public class BlankCRServo
extends BlankHardwareDevice
implements com.qualcomm.robotcore.hardware.CRServo
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.DcMotorSimple
com.qualcomm.robotcore.hardware.DcMotorSimple.Direction
Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice
com.qualcomm.robotcore.hardware.HardwareDevice.Manufacturer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.qualcomm.robotcore.hardware.ServoController
com.qualcomm.robotcore.hardware.DcMotorSimple.Direction
int
double
getPower()
void
setDirection
(com.qualcomm.robotcore.hardware.DcMotorSimple.Direction direction) void
setPower
(double power) 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
-
BlankCRServo
public BlankCRServo()
-
-
Method Details
-
getController
public com.qualcomm.robotcore.hardware.ServoController getController()- Specified by:
getController
in interfacecom.qualcomm.robotcore.hardware.CRServo
-
getPortNumber
public int getPortNumber()- Specified by:
getPortNumber
in interfacecom.qualcomm.robotcore.hardware.CRServo
-
setDirection
public void setDirection(com.qualcomm.robotcore.hardware.DcMotorSimple.Direction direction) - Specified by:
setDirection
in interfacecom.qualcomm.robotcore.hardware.DcMotorSimple
-
getDirection
public com.qualcomm.robotcore.hardware.DcMotorSimple.Direction getDirection()- Specified by:
getDirection
in interfacecom.qualcomm.robotcore.hardware.DcMotorSimple
-
setPower
public void setPower(double power) - Specified by:
setPower
in interfacecom.qualcomm.robotcore.hardware.DcMotorSimple
-
getPower
public double getPower()- Specified by:
getPower
in interfacecom.qualcomm.robotcore.hardware.DcMotorSimple
-