Class BlankServo
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankHardwareDevice
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.hardwaredevice.BlankServo
- All Implemented Interfaces:
com.qualcomm.robotcore.hardware.HardwareDevice
,com.qualcomm.robotcore.hardware.Servo
public class BlankServo
extends BlankHardwareDevice
implements com.qualcomm.robotcore.hardware.Servo
-
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.Servo
com.qualcomm.robotcore.hardware.Servo.Direction
-
Field Summary
Fields inherited from interface com.qualcomm.robotcore.hardware.Servo
MAX_POSITION, MIN_POSITION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.qualcomm.robotcore.hardware.ServoController
com.qualcomm.robotcore.hardware.Servo.Direction
int
double
void
scaleRange
(double v, double v1) void
setDirection
(com.qualcomm.robotcore.hardware.Servo.Direction direction) void
setPosition
(double v) 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
-
BlankServo
public BlankServo()
-
-
Method Details
-
getController
public com.qualcomm.robotcore.hardware.ServoController getController()- Specified by:
getController
in interfacecom.qualcomm.robotcore.hardware.Servo
-
getPortNumber
public int getPortNumber()- Specified by:
getPortNumber
in interfacecom.qualcomm.robotcore.hardware.Servo
-
setDirection
public void setDirection(com.qualcomm.robotcore.hardware.Servo.Direction direction) - Specified by:
setDirection
in interfacecom.qualcomm.robotcore.hardware.Servo
-
getDirection
public com.qualcomm.robotcore.hardware.Servo.Direction getDirection()- Specified by:
getDirection
in interfacecom.qualcomm.robotcore.hardware.Servo
-
setPosition
public void setPosition(double v) - Specified by:
setPosition
in interfacecom.qualcomm.robotcore.hardware.Servo
-
getPosition
public double getPosition()- Specified by:
getPosition
in interfacecom.qualcomm.robotcore.hardware.Servo
-
scaleRange
public void scaleRange(double v, double v1) - Specified by:
scaleRange
in interfacecom.qualcomm.robotcore.hardware.Servo
-