Class StateMachineOpMode
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
org.firstinspires.ftc.teamcode.auton.stateMachine.StateMachineOpMode
@Autonomous(name="Autonomous State Machine")
public class StateMachineOpMode
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
-
Field Summary
Modifier and TypeFieldDescription(package private) double[]
(package private) double[]
protected static Context
protected static com.qualcomm.robotcore.util.ElapsedTime
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.HardwareMap
static final int
int
Deprecated.(package private) double[][]
(package private) int
(package private) StateMachine
org.firstinspires.ftc.robotcore.external.Telemetry
(package private) double[]
(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, stop, terminateOpModeNow, updateTelemetry
-
Field Details
-
elapsedTime
protected static com.qualcomm.robotcore.util.ElapsedTime elapsedTime -
stateMachine
StateMachine stateMachine -
context
-
backboardBlue
double[] backboardBlue -
wallBlue
double[] wallBlue -
backboardRed
double[] backboardRed -
wallRed
double[] wallRed -
startingLocation
double[][] startingLocation -
startingLocationIndex
int startingLocationIndex -
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
-
StateMachineOpMode
public StateMachineOpMode()
-
-
Method Details
-
init
public void init()- Specified by:
init
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()
-