-
public class DynamicNestedCommand extends Command
Command for checking dynamic conditions on external systems.
These conditions can be changed in the gamepad state, environment or robot subsystems.
-
-
Method Summary
Modifier and Type Method Description Command.StategetState()Gets the current command state. booleangetIsRunnable()Gets a value indicating whether or not command is supposed to execute based on its start condition. voidperiodic()Command periodic code while the command is running. booleangetIsCompleted()Gets a value indicating whether or not command execution is completed. -
-
Method Detail
-
getState
Command.State getState()
Gets the current command state.
-
getIsRunnable
boolean getIsRunnable()
Gets a value indicating whether or not command is supposed to execute based on its start condition.
-
periodic
void periodic()
Command periodic code while the command is running.
-
getIsCompleted
boolean getIsCompleted()
Gets a value indicating whether or not command execution is completed.
-
-
-
-