edu.wpi.first.wpilibj.command

## Class WaitCommand

- java.lang.Object
- - edu.wpi.first.wpilibj.command.Command
  - - edu.wpi.first.wpilibj.command.TimedCommand
    - - edu.wpi.first.wpilibj.command.WaitCommand

- All Implemented Interfaces:
    NamedSendable, Sendable

      public class WaitCommand
      extends TimedCommand

  A `WaitCommand` will wait for a certain amount of time before finishing. It is useful if you want a `CommandGroup` to pause for a moment.
  See Also:
    `CommandGroup`

- - ### Constructor Summary

    Constructors
    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.

  - ### Method Summary

    - ### Methods inherited from class edu.wpi.first.wpilibj.command.TimedCommand

      `isFinished`

    - ### Methods inherited from class edu.wpi.first.wpilibj.command.Command

      `cancel, clearRequirements, doesRequire, end, execute, getGroup, getName, getSmartDashboardType, initialize, initTable, interrupted, isCanceled, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabled`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WaitCommand

          public WaitCommand(double timeout)

      Instantiates a `WaitCommand` with the given timeout.
      Parameters:
        `timeout` - the time the command takes to run (seconds)

    - #### WaitCommand

          public WaitCommand(java.lang.String name,
                             double timeout)

      Instantiates a `WaitCommand` with the given timeout.
      Parameters:
        `name` - the name of the command
        `timeout` - the time the command takes to run (seconds)