@Deprecated
public abstract class CommandOpMode
extends LinearOpMode
| Constructor and Description |
|---|
CommandOpMode()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSequential(Command newCommand,
double timeout)
Deprecated.
addSequential takes in a new command and runs it, delaying any code until the command isFinished.
|
void |
addSequential(Command newCommand,
double timeout,
double dt)
Deprecated.
Runs addSequential with a user-specified time interval (in ms)
|
abstract void |
initialize()
Deprecated.
Initialize all objects, set up subsystems, etc...
|
void |
initLoop()
Deprecated.
Init loop.
|
abstract void |
run()
Deprecated.
Run Op Mode.
|
void |
runOpMode()
Deprecated.
|
public abstract void initialize()
public abstract void run()
public void initLoop()
public void runOpMode()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void addSequential(Command newCommand, double timeout)
newCommand - new Command to run.public void addSequential(Command newCommand, double timeout, double dt)
newCommand - Command to rundt - Time interval of loop iterations