Uses of Class
edu.wpi.first.wpilibj2.command.CommandGroupBase
Package | Description |
---|---|
edu.wpi.first.wpilibj2.command |
-
Uses of CommandGroupBase in edu.wpi.first.wpilibj2.command
Subclasses of CommandGroupBase in edu.wpi.first.wpilibj2.command Modifier and Type Class Description class
ParallelCommandGroup
A CommandGroup that runs a set of commands in parallel, ending when the last command ends.class
ParallelDeadlineGroup
A CommandGroup that runs a set of commands in parallel, ending only when a specific command (the "deadline") ends, interrupting all other commands that are still running at that point.class
ParallelRaceGroup
A CommandGroup that runs a set of commands in parallel, ending when any one of the commands ends and interrupting all the others.class
SequentialCommandGroup
A CommandGroups that runs a list of commands in sequence.Methods in edu.wpi.first.wpilibj2.command that return CommandGroupBase Modifier and Type Method Description static CommandGroupBase
CommandGroupBase. deadline(Command deadline, Command... commands)
Factory method forParallelDeadlineGroup
, included for brevity/convenience.static CommandGroupBase
CommandGroupBase. parallel(Command... commands)
Factory method forParallelCommandGroup
, included for brevity/convenience.static CommandGroupBase
CommandGroupBase. race(Command... commands)
Factory method forParallelRaceGroup
, included for brevity/convenience.static CommandGroupBase
CommandGroupBase. sequence(Command... commands)
Factory method forSequentialCommandGroup
, included for brevity/convenience.