Class StrafeDrive
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
org.firstinspires.ftc.teamcode.teleop.StrafeDrive
@TeleOp(name="StrafeDriveBasic",
group="Iterative OpMode")
public class StrafeDrive
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
TeleOp OpMode for simply driving with strafing wheels
-
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
static final int
int
Deprecated.(package private) double
(package private) double
(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
-
Constructor Summary
-
Method Summary
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, 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 -
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
-
StrafeDrive
public StrafeDrive()
-
-
Method Details
-
init
public void init()- Specified by:
init
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
init_loop
public void init_loop()- Overrides:
init_loop
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
start
public void start()- Overrides:
start
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
loop
public void loop()- Specified by:
loop
in classcom.qualcomm.robotcore.eventloop.opmode.OpMode
-
requestOpModeStop
public final void requestOpModeStop()
-