Class DisableCommand

  • All Implemented Interfaces:
    edu.wpi.first.wpilibj.Sendable, java.lang.AutoCloseable

    public class DisableCommand
    extends edu.wpi.first.wpilibj.command.InstantCommand
    A command which disables a subsystem
    • Constructor Summary

      Constructors 
      Constructor Description
      DisableCommand​(T subsystem)
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void initialize()  
      • Methods inherited from class edu.wpi.first.wpilibj.command.InstantCommand

        _initialize, isFinished
      • Methods inherited from class edu.wpi.first.wpilibj.command.Command

        cancel, clearRequirements, close, doesRequire, end, execute, getGroup, getName, getSubsystem, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setName, setRunWhenDisabled, setSubsystem, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface edu.wpi.first.wpilibj.Sendable

        addChild, setName, setName, setName
    • Constructor Detail

      • DisableCommand

        public DisableCommand​(T subsystem)
        Default constructor
        Parameters:
        subsystem - the subsystem to disable
    • Method Detail

      • initialize

        protected void initialize()
        Overrides:
        initialize in class edu.wpi.first.wpilibj.command.Command