| 
 | " 2013 FRC Java API" | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Command | |
|---|---|
| edu.wpi.first.wpilibj.buttons | |
| edu.wpi.first.wpilibj.command | |
| Uses of Command in edu.wpi.first.wpilibj.buttons | 
|---|
| Methods in edu.wpi.first.wpilibj.buttons with parameters of type Command | |
|---|---|
|  void | Trigger.whenActive(Command command)Starts the given command whenever the trigger just becomes active. | 
|  void | Trigger.whenInactive(Command command)Starts the command when the trigger becomes inactive | 
|  void | Button.whenPressed(Command command)Starts the given command whenever the button is newly pressed. | 
|  void | Button.whenReleased(Command command)Starts the command when the button is released | 
|  void | Trigger.whileActive(Command command)Constantly starts the given command while the button is held. | 
|  void | Button.whileHeld(Command command)Constantly starts the given command while the button is held. | 
| Uses of Command in edu.wpi.first.wpilibj.command | 
|---|
| Subclasses of Command in edu.wpi.first.wpilibj.command | |
|---|---|
|  class | CommandGroupA CommandGroupis a list of commands which are executed in sequence. | 
|  class | PIDCommandThis class defines a Commandwhich interacts heavily with a PID loop. | 
|  class | PrintCommandA PrintCommandis a command which prints out a string when it is initialized, and then immediately finishes. | 
|  class | StartCommandA StartCommandwill call thestart()method of another command when it is initialized
 and will finish immediately. | 
|  class | WaitCommandA WaitCommandwill wait for a certain amount of time before finishing. | 
|  class | WaitForChildrenThis command will only finish if whatever CommandGroupit is in has no active children. | 
|  class | WaitUntilCommandWaitUntilCommand - waits until an absolute game time. | 
| Methods in edu.wpi.first.wpilibj.command that return Command | |
|---|---|
|  Command | Subsystem.getCurrentCommand()Returns the command which currently claims this subsystem. | 
| protected  Command | Subsystem.getDefaultCommand()Returns the default command (or null if there is none). | 
| Methods in edu.wpi.first.wpilibj.command with parameters of type Command | |
|---|---|
|  void | Scheduler.add(Command command)Adds the command to the Scheduler. | 
|  void | CommandGroup.addParallel(Command command)Adds a new child Commandto the group. | 
|  void | CommandGroup.addParallel(Command command,
            double timeout)Adds a new child Commandto the group with the given timeout. | 
|  void | CommandGroup.addSequential(Command command)Adds a new Commandto the group. | 
|  void | CommandGroup.addSequential(Command command,
              double timeout)Adds a new Commandto the group with a given timeout. | 
| protected  void | Subsystem.setDefaultCommand(Command command)Sets the default command. | 
| Constructors in edu.wpi.first.wpilibj.command with parameters of type Command | |
|---|---|
| StartCommand(Command commandToStart)Instantiates a StartCommandwhich will start the
 given command whenever itsinitialize()is called. | |
| 
 | " 2013 FRC Java API" | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||