Class ParallelGroup

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

public class ParallelGroup extends Object implements AutoGroup
An AutoGroup that finishes when all commands finish
  • Constructor Details

    • ParallelGroup

      public ParallelGroup()
  • 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