Class SequenceGroup

java.lang.Object
me.nabdev.pathfinding.autos.groups.SequenceGroup
All Implemented Interfaces:
AutoGroup

public class SequenceGroup extends Object implements AutoGroup
SequenceGroup is an AutoGroup that runs commands in sequence.
  • Constructor Details

    • SequenceGroup

      public SequenceGroup()
  • Method Details

    • getCommand

      public edu.wpi.first.wpilibj2.command.Command getCommand(ArrayList<edu.wpi.first.wpilibj2.command.Command> children)
      Description copied from interface: AutoGroup
      Generate the command from the autogroup
      Specified by:
      getCommand in interface AutoGroup
      Parameters:
      children - The commands to pass to the group
      Returns:
      The command sequence made by the group