StartCommand¶
-
class
wpilib.command.
StartCommand
(commandToStart)[source]¶ Bases:
wpilib.command.InstantCommand
A StartCommand will call the start() method of another command when it is initialized and will finish immediately.
Instantiates a StartCommand which will start the given command whenever its initialize() is called.
Parameters: commandToStart – the Command
to start