Wait Command

The WaitCommand() is useful for a when a timed wait period is required.

Example

1
2
// Waits 10 seconds
new WaitCommand(10);
1
2
// Waits 10 seconds
frc2::WaitCommand(10.0_s);