Class TeleOp
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
org.firstinspires.ftc.teamcode.teleop.TeleOp
@TeleOp(name="TeleOp",
group="OpMode")
public class TeleOp
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
-
Field Summary
Modifier and TypeFieldDescription(package private) double
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.HardwareMap
(package private) double
(package private) double
(package private) double
static final int
int
Deprecated.(package private) double
(package private) double
(package private) boolean
(package private) double
org.firstinspires.ftc.robotcore.external.Telemetry
(package private) double
Fields inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
msStuckDetectInit, msStuckDetectInitLoop, msStuckDetectLoop, msStuckDetectStart, time
-
Constructor Summary
-
Method Summary
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, init_loop, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, start, stop, terminateOpModeNow, updateTelemetry
-
Field Details
-
leftFPower
double leftFPower -
rightFPower
double rightFPower -
leftBPower
double leftBPower -
rightBPower
double rightBPower -
drive
double drive -
turn
double turn -
strafe
double strafe -
intakePower
double intakePower -
scoringATM
boolean scoringATM -
MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED
public static final int MS_BEFORE_FORCE_STOP_AFTER_STOP_REQUESTED- See Also:
-
gamepad1
public volatile com.qualcomm.robotcore.hardware.Gamepad gamepad1 -
gamepad2
public volatile com.qualcomm.robotcore.hardware.Gamepad gamepad2 -
telemetry
public org.firstinspires.ftc.robotcore.external.Telemetry telemetry -
hardwareMap
public volatile com.qualcomm.robotcore.hardware.HardwareMap hardwareMap -
msStuckDetectStop
Deprecated.
-
-
Constructor Details
-
TeleOp
public TeleOp()
-
-
Method Details
-
init
public void init()- Specified by:
init
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
loop
public void loop()- Specified by:
loop
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
automaticScoring
public void automaticScoring() -
clawLock
public void clawLock() -
viperSlides
public void viperSlides() -
clawJoint
public void clawJoint() -
intake
public void intake() -
outerIntakeJoints
public void outerIntakeJoints() -
driving
public void driving() -
scoring
public void scoring() -
setViperSlidePos
public void setViperSlidePos() -
setArmPos
public void setArmPos() -
setJointPos
public void setJointPos() -
resetPos
public void resetPos() -
viperSlideTelemetryUpdate
public void viperSlideTelemetryUpdate() -
runViperSlidesToPosition
public void runViperSlidesToPosition(double position, double power) -
requestOpModeStop
public final void requestOpModeStop()
-