Class RaceGroup

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

public class RaceGroup extends Object implements AutoGroup
An AutoGroup that finishes when any command finishes.
  • Constructor Details

    • RaceGroup

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