Class ScoringAlgorithm
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
org.firstinspires.ftc.teamcode.auton.ScoringAlgorithm
@Autonomous(name="Scoring Algorithm",
group="auton")
public class ScoringAlgorithm
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
-
Field Summary
Modifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.HardwareMap
static final int
int
Deprecated.org.firstinspires.ftc.robotcore.external.Telemetry
Fields inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
msStuckDetectInit, msStuckDetectInitLoop, msStuckDetectLoop, msStuckDetectStart, time
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
void
loop()
final void
void
resetPos()
void
runViperSlidesToPosition
(double position, double power) void
scoring()
void
void
void
void
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, init_loop, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, start, stop, terminateOpModeNow, updateTelemetry
-
Field Details
-
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
-
ScoringAlgorithm
public ScoringAlgorithm()
-
-
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
-
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()
-