WaitCommand¶
-
class
wpilib.command.WaitCommand(timeout, name=None)[source]¶ Bases:
wpilib.command.CommandA WaitCommand will wait for a certain amount of time before finishing. It is useful if you want a
CommandGroupto pause for a moment.See also
Instantiates a WaitCommand with the given timeout.
Parameters: - timeout – the time the command takes to run
- name – the name of the command (optional)