Class RotateTest

java.lang.Object
com.qualcomm.robotcore.eventloop.opmode.OpMode

@Autonomous(name="RotateTest") public class RotateTest extends AutonomousOpMode
  • Field Details

    • fl

      public NovelMotor fl
    • fr

      public NovelMotor fr
    • bl

      public NovelMotor bl
    • br

      public NovelMotor 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 public int msStuckDetectStop
      Deprecated.
  • Constructor Details

    • RotateTest

      public RotateTest()
  • Method Details

    • initialize

      public void initialize()
      Description copied from class: AutonomousOpMode
      The 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 if super.init() isn't called.
      Specified by:
      initialize in class AutonomousOpMode
    • run

      public void run()
      Description copied from class: AutonomousOpMode
      Run 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:
      run in class AutonomousOpMode
    • driveVertical

      public void driveVertical(double inches, double time) throws InterruptedException
      Throws:
      InterruptedException
    • driveHorizontal

      public void driveHorizontal(double inches, double time) throws InterruptedException
      Throws:
      InterruptedException
    • rotate

      public void rotate(double degrees, double time) throws InterruptedException
      Throws:
      InterruptedException
    • rotateIMU

      public void rotateIMU(double degrees) throws InterruptedException
      Throws:
      InterruptedException
    • rotateCompare

      public void rotateCompare(double degrees, double time)
    • requestOpModeStop

      public final void requestOpModeStop()