-
public class SequentialCommand extends Command
Executes a list of commands in sequence.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SequentialCommand.SequentialCommandBuilder
-
Method Summary
Modifier and Type Method Description static SequentialCommand.SequentialCommandBuilder
sequential(Command command)
Add a new command to the sequence. void
periodic()
Sequentially executes the commands on the list. -
-
Method Detail
-
sequential
static SequentialCommand.SequentialCommandBuilder sequential(Command command)
Add a new command to the sequence.
- Parameters:
command
- command to be added to the sequence.
-
periodic
void periodic()
Sequentially executes the commands on the list.
-
-
-
-