WaitCommand¶
-
class
wpilib.command.
WaitCommand
(timeout, name=None)[source]¶ Bases:
wpilib.command.Command
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
Instantiates a WaitCommand with the given timeout.
Parameters: - timeout – the time the command takes to run
- name – the name of the command (optional)