@TeleOp(name="Teleop: Tank Test",
group="Teleop")
@Disabled
public class TeleopTank
extends com.qualcomm.robotcore.eventloop.opmode.OpMode
Modifier and Type | Field and Description |
---|---|
private static double |
ANALOG_THRESHOLD |
private static double |
FAST_MULTIPLIER |
private boolean |
goldFound |
private int |
goldSoundID |
(package private) double |
hangingInput |
private boolean |
isX |
private boolean |
isY |
(package private) double |
leftYInput |
(package private) double |
rightYInput |
private HardwareTank |
robot |
private com.qualcomm.robotcore.util.ElapsedTime |
runtime |
private boolean |
silverFound |
private int |
silverSoundID |
private static double |
SLOW_MULTIPLIER |
private SoundManager |
soundManager |
private boolean |
wasB |
private boolean |
wasX |
Constructor and Description |
---|
TeleopTank() |
Modifier and Type | Method and Description |
---|---|
void |
init_loop()
Runs continuously while OpMode is waiting to start.
|
void |
init() |
void |
loop()
Runs continuously while the OpMode is active.
|
void |
start()
Runs once when the OpMode starts.
|
void |
stop() |
private static final double ANALOG_THRESHOLD
private static final double SLOW_MULTIPLIER
private static final double FAST_MULTIPLIER
private com.qualcomm.robotcore.util.ElapsedTime runtime
private HardwareTank robot
private SoundManager soundManager
double rightYInput
double leftYInput
double hangingInput
private boolean goldFound
private boolean silverFound
private boolean isX
private boolean isY
private boolean wasX
private boolean wasB
private int silverSoundID
private int goldSoundID
public void init()
init
in class com.qualcomm.robotcore.eventloop.opmode.OpMode
public void init_loop()
init_loop
in class com.qualcomm.robotcore.eventloop.opmode.OpMode
OpMode.init_loop()
public void start()
start
in class com.qualcomm.robotcore.eventloop.opmode.OpMode
OpMode.loop()
public void loop()
loop
in class com.qualcomm.robotcore.eventloop.opmode.OpMode
OpMode.loop()
public void stop()
stop
in class com.qualcomm.robotcore.eventloop.opmode.OpMode