Class DeadlineGroup

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

public class DeadlineGroup extends Object implements AutoGroup
An auto group that only finishes when the first command in the array finishes.
  • Constructor Details

    • DeadlineGroup

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