Package org.parts3492.partslib.command
Class PARTsCommandUtils
java.lang.Object
org.parts3492.partslib.command.PARTsCommandUtils
Command Utilities for PARTs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.wpilibj2.command.CommandsetCommandName(String name, edu.wpi.first.wpilibj2.command.Command c) Set the given command's name.
-
Constructor Details
-
PARTsCommandUtils
public PARTsCommandUtils()
-
-
Method Details
-
setCommandName
public static edu.wpi.first.wpilibj2.command.Command setCommandName(String name, edu.wpi.first.wpilibj2.command.Command c) Set the given command's name.- Parameters:
name- The name to set the command.c- The target command.- Returns:
- The modified command with the given name.
-