Package edu.wpi.first.wpilibj.command
Class WaitUntilCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj.command.Command
-
- edu.wpi.first.wpilibj.command.WaitUntilCommand
-
- All Implemented Interfaces:
Sendable,AutoCloseable
public class WaitUntilCommand extends Command
WaitUntilCommand - waits until an absolute game time. This will wait until the game clock reaches some value, then continue to the next command.
-
-
Constructor Summary
Constructors Constructor Description WaitUntilCommand(double time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinished()Check if we've reached the actual finish time.-
Methods inherited from class edu.wpi.first.wpilibj.command.Command
cancel, clearRequirements, close, doesRequire, end, execute, getGroup, getName, getSubsystem, initialize, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setName, setRunWhenDisabled, setSubsystem, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabled
-
-
-
-
Method Detail
-
isFinished
public boolean isFinished()
Check if we've reached the actual finish time.- Specified by:
isFinishedin classCommand- Returns:
- whether this command is finished.
- See Also:
isTimedOut()
-
-