Class RaceGroup
java.lang.Object
me.nabdev.pathfinding.autos.groups.RaceGroup
- All Implemented Interfaces:
AutoGroup
An AutoGroup that finishes when any command finishes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.Command
getCommand
(ArrayList<edu.wpi.first.wpilibj2.command.Command> children) Generate the command from the autogroup
-
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 interfaceAutoGroup
- Parameters:
children
- The commands to pass to the group- Returns:
- The command sequence made by the group
-