Package centerstage.auto
Class RotateTest
java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode
com.pocolifo.robobase.bootstrap.BootstrappedOpMode
com.pocolifo.robobase.bootstrap.AutonomousOpMode
centerstage.auto.RotateTest
- 
Field Summary
FieldsModifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.Gamepadcom.qualcomm.robotcore.hardware.Gamepadcom.qualcomm.robotcore.hardware.HardwareMapstatic final intintDeprecated.org.firstinspires.ftc.robotcore.external.TelemetryFields inherited from class com.pocolifo.robobase.bootstrap.BootstrappedOpMode
stoppedFields inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
msStuckDetectInit, msStuckDetectInitLoop, msStuckDetectLoop, msStuckDetectStart, time - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddriveHorizontal(double inches, double time) voiddriveVertical(double inches, double time) voidThe initialization method for Autonomous.final voidvoidrotate(double degrees, double time) voidrotateCompare(double degrees, double time) voidrotateIMU(double degrees) voidrun()Run the Autonomous code (i.e.Methods inherited from class com.pocolifo.robobase.bootstrap.AutonomousOpMode
init, init_loop, loop, startMethods inherited from class com.pocolifo.robobase.bootstrap.BootstrappedOpMode
dumpEnvironment, sleepMethods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, stop, terminateOpModeNow, updateTelemetry 
- 
Field Details
- 
fl
 - 
fr
 - 
bl
 - 
br
 - 
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
- 
RotateTest
public RotateTest() 
 - 
 - 
Method Details
- 
initialize
public void initialize()Description copied from class:AutonomousOpModeThe initialization method for Autonomous. The reason for having a separate initialize method is so that you have to override it. This also eliminates errors occurring ifsuper.init()isn't called.- Specified by:
 initializein classAutonomousOpMode
 - 
run
public void run()Description copied from class:AutonomousOpModeRun the Autonomous code (i.e. move the robot or complete another action). The reason for having a separate run/start method is so that you have to override it.- Specified by:
 runin classAutonomousOpMode
 - 
driveVertical
- Throws:
 InterruptedException
 - 
driveHorizontal
- Throws:
 InterruptedException
 - 
rotate
- Throws:
 InterruptedException
 - 
rotateIMU
- Throws:
 InterruptedException
 - 
rotateCompare
public void rotateCompare(double degrees, double time)  - 
requestOpModeStop
public final void requestOpModeStop() 
 -