Enum Class HoodHoming.State

java.lang.Object
java.lang.Enum<HoodHoming.State>
frc.robot.subsystems.hood.HoodHoming.State
All Implemented Interfaces:
Serializable, Comparable<HoodHoming.State>, Constable
Enclosing class:
HoodHoming

public static enum HoodHoming.State extends Enum<HoodHoming.State>
Logged as Hood/HomingState.
  • Enum Constant Details

    • NOT_ZEROED

      public static final HoodHoming.State NOT_ZEROED
      Never homed since boot: the hood holds in brake.
    • HOMING

      public static final HoodHoming.State HOMING
    • TIMED_OUT

      public static final HoodHoming.State TIMED_OUT
      The last attempt ran out of time before finding the stop, and the hood is not zeroed.
    • ZEROED

      public static final HoodHoming.State ZEROED
  • Field Details

    • label

      public final String label
  • Method Details

    • values

      public static HoodHoming.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HoodHoming.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null