Class MotorDirectionDebugger
Button Mappings:
Xbox/PS4 Button - Motor X / ▢ - Front Left Y / Δ - Front Right B / O - Rear Right A / X - Rear Left The buttons are mapped to match the wheels spatially if you were to rotate the gamepad 45deg°. x/square is the front left ________ and each button corresponds to the wheel as you go clockwise / ______ \ ------------.-' _ '-..+ Front of Bot / _ ( Y ) _ \ ^ | ( X ) _ ( B ) | Front Left \ Front Right ___ '. ( A ) /| Wheel \ Wheel .' '. '-._____.-' .' (x/▢) \ (Y/Δ) | | | \ '.___.' '. | Rear Left \ Rear Right '. / Wheel \ Wheel \. .' (A/X) \ (B/O) \________/
Uncomment the @Disabled tag below to use this opmode.
-
Field Summary
Modifier and TypeFieldDescriptioncom.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.Gamepad
com.qualcomm.robotcore.hardware.HardwareMap
static double
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
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
idle, init, init_loop, isStarted, isStopRequested, loop, opModeInInit, opModeIsActive, sleep, start, stop, waitForStart
Methods inherited from class com.qualcomm.robotcore.eventloop.opmode.OpMode
getRuntime, internalPostInitLoop, internalPostLoop, internalPreInit, internalUpdateTelemetryNow, resetRuntime, terminateOpModeNow, updateTelemetry
-
Field Details
-
MOTOR_POWER
public static double MOTOR_POWER -
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
-
MotorDirectionDebugger
public MotorDirectionDebugger()
-
-
Method Details
-
runOpMode
- Specified by:
runOpMode
in classcom.qualcomm.robotcore.eventloop.opmode.LinearOpMode
- Throws:
InterruptedException
-
requestOpModeStop
public final void requestOpModeStop()
-