Package edu.wpi.first.wpilibj.command
Class WaitUntilCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj.SendableBase
-
- 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 boolean
isFinished()
Check if we've reached the actual finish time.-
Methods inherited from class edu.wpi.first.wpilibj.command.Command
cancel, clearRequirements, doesRequire, end, execute, getGroup, initialize, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabled
-
Methods inherited from class edu.wpi.first.wpilibj.SendableBase
addChild, close, free, getName, getSubsystem, setName, setName, setName, setSubsystem
-
-
-
-
Method Detail
-
isFinished
public boolean isFinished()
Check if we've reached the actual finish time.- Specified by:
isFinished
in classCommand
- Returns:
- whether this command is finished.
- See Also:
isTimedOut()
-
-