Class BaseSequentialCommandGroup

All Implemented Interfaces:
Sendable, IPropertySupport

public class BaseSequentialCommandGroup extends BaseCommand
A command composition that runs a list of commands in sequence.

The rules for command compositions apply: command instances that are passed to it cannot be added to any other composition or scheduled individually, and the composition requires all subsystems its components require.

This class is provided by the NewCommands VendorDep

  • Constructor Details

    • BaseSequentialCommandGroup

      public BaseSequentialCommandGroup(Command... commands)
      Creates a new SequentialCommandGroup. The given commands will be run sequentially, with the composition finishing when the last command finishes.
      Parameters:
      commands - the commands to include in this composition.
    • BaseSequentialCommandGroup

      public BaseSequentialCommandGroup(String name, Command... commands)
  • Method Details