Class FaultCommand

  • All Implemented Interfaces:
    edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Command

    public class FaultCommand
    extends edu.wpi.first.wpilibj2.command.InstantCommand
    Command to trigger a LightningFaultCodes.Code
    • Field Summary

      • Fields inherited from class edu.wpi.first.wpilibj2.command.CommandBase

        m_requirements
    • Method Summary

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

        isFinished
      • Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase

        addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface edu.wpi.first.wpilibj2.command.Command

        alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, end, execute, hasRequirement, isScheduled, perpetually, raceWith, runsWhenDisabled, schedule, schedule, until, withInterrupt, withTimeout
    • Method Detail

      • initialize

        public void initialize()
        Specified by:
        initialize in interface edu.wpi.first.wpilibj2.command.Command
        Overrides:
        initialize in class edu.wpi.first.wpilibj2.command.InstantCommand