public class WaitCommand extends TimedCommand
WaitCommand will wait for a certain amount of time before finishing. It is useful if
you want a CommandGroup to pause for a moment.CommandGroup| Constructor and Description |
|---|
WaitCommand(double timeout)
Instantiates a
WaitCommand with the given timeout. |
WaitCommand(java.lang.String name,
double timeout)
Instantiates a
WaitCommand with the given timeout. |
isFinishedcancel, clearRequirements, doesRequire, end, execute, getGroup, initialize, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabledaddChild, free, getName, getSubsystem, setName, setName, setName, setSubsystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getSubsystem, setName, setName, setSubsystempublic WaitCommand(double timeout)
WaitCommand with the given timeout.timeout - the time the command takes to run (seconds)public WaitCommand(java.lang.String name, double timeout)
WaitCommand with the given timeout.name - the name of the commandtimeout - the time the command takes to run (seconds)