public class StartCommand extends InstantCommand
StartCommand will call the start() method of another command
 when it is initialized and will finish immediately.| Constructor and Description | 
|---|
| StartCommand(Command commandToStart)Instantiates a  StartCommandwhich will start the given command whenever itsinitialize()is called. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | initialize()The initialize method is called the first time this Command is run after being started. | 
isFinishedcancel, clearRequirements, doesRequire, end, execute, getGroup, getName, getSmartDashboardType, getTable, initTable, interrupted, isCanceled, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setRunWhenDisabled, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabledpublic StartCommand(Command commandToStart)
StartCommand which will start the given command whenever its initialize() is called.commandToStart - the Command to startprotected void initialize()
Commandinitialize in class Command