Class StopCommand

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

    public class StopCommand
    extends edu.wpi.first.wpilibj.command.InstantCommand
    • Constructor Summary

      Constructors 
      Constructor Description
      StopCommand​(T system)
      Stop the subsystem.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute()  
      • 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, getGroup, getName, getSubsystem, initialize, 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

      • StopCommand

        public StopCommand​(T system)
        Stop the subsystem.
        Parameters:
        system - The subsystem on the robot which implements the Stoppable interface.
    • Method Detail

      • execute

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