Class NamedInstantCommand
java.lang.Object
org.wpilib.command2.Command
org.wpilib.command2.FunctionalCommand
org.wpilib.command2.InstantCommand
xbot.common.command.NamedInstantCommand
- All Implemented Interfaces:
org.wpilib.telemetry.TelemetryLoggable, org.wpilib.tunable.ComplexTunable
public class NamedInstantCommand
extends org.wpilib.command2.InstantCommand
Convenience wrapper of InstantCommand that allows setting a human readable name for
dashboard and logging readability.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.wpilib.command2.Command
org.wpilib.command2.Command.InterruptionBehavior -
Constructor Summary
ConstructorsConstructorDescriptionNamedInstantCommand(String name, Runnable toRun, org.wpilib.command2.Subsystem... requirements) -
Method Summary
Methods inherited from class org.wpilib.command2.FunctionalCommand
end, execute, initialize, isFinishedMethods inherited from class org.wpilib.command2.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getTelemetryType, getTunableType, handleInterrupt, hasRequirement, ignoringDisable, isScheduled, logTo, onlyIf, onlyWhile, publishTunable, raceWith, repeatedly, runsWhenDisabled, setName, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeoutMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.tunable.ComplexTunable
publishChildTunable, publishChildTunable, removeChildTunable, setChildTunableChanged, updateTunable
-
Constructor Details
-
NamedInstantCommand
-