Class NamedRunCommand

java.lang.Object
org.wpilib.command2.Command
org.wpilib.command2.FunctionalCommand
org.wpilib.command2.RunCommand
xbot.common.command.NamedRunCommand
All Implemented Interfaces:
org.wpilib.telemetry.TelemetryLoggable, org.wpilib.tunable.ComplexTunable

public class NamedRunCommand extends org.wpilib.command2.RunCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.wpilib.command2.Command

    org.wpilib.command2.Command.InterruptionBehavior
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.logging.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    NamedRunCommand(String name, Runnable toRun, org.wpilib.command2.Subsystem... requirements)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.wpilib.command2.FunctionalCommand

    end, execute, isFinished

    Methods 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, withTimeout

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wpilib.tunable.ComplexTunable

    publishChildTunable, publishChildTunable, removeChildTunable, setChildTunableChanged, updateTunable
  • Field Details

    • log

      protected org.apache.logging.log4j.Logger log
  • Constructor Details

    • NamedRunCommand

      public NamedRunCommand(String name, Runnable toRun, org.wpilib.command2.Subsystem... requirements)
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class org.wpilib.command2.FunctionalCommand