Enum Class REVLibError

java.lang.Object
java.lang.Enum<REVLibError>
com.revrobotics.REVLibError
All Implemented Interfaces:
Serializable, Comparable<REVLibError>, Constable

public enum REVLibError extends Enum<REVLibError>
  • Enum Constant Details

    • kOk

      public static final REVLibError kOk
    • kError

      public static final REVLibError kError
    • kTimeout

      public static final REVLibError kTimeout
    • kNotImplemented

      public static final REVLibError kNotImplemented
    • kHALError

      public static final REVLibError kHALError
    • kCantFindFirmware

      public static final REVLibError kCantFindFirmware
    • kFirmwareTooOld

      public static final REVLibError kFirmwareTooOld
    • kFirmwareTooNew

      public static final REVLibError kFirmwareTooNew
    • kParamInvalidID

      public static final REVLibError kParamInvalidID
    • kParamMismatchType

      public static final REVLibError kParamMismatchType
    • kParamAccessMode

      public static final REVLibError kParamAccessMode
    • kParamInvalid

      public static final REVLibError kParamInvalid
    • kParamNotImplementedDeprecated

      public static final REVLibError kParamNotImplementedDeprecated
    • kFollowConfigMismatch

      public static final REVLibError kFollowConfigMismatch
    • kInvalid

      public static final REVLibError kInvalid
    • kSetpointOutOfRange

      public static final REVLibError kSetpointOutOfRange
    • kUnknown

      public static final REVLibError kUnknown
    • kCANDisconnected

      public static final REVLibError kCANDisconnected
    • kDuplicateCANId

      public static final REVLibError kDuplicateCANId
    • kInvalidCANId

      public static final REVLibError kInvalidCANId
    • kSparkMaxDataPortAlreadyConfiguredDifferently

      public static final REVLibError kSparkMaxDataPortAlreadyConfiguredDifferently
    • kSparkFlexBrushedWithoutDock

      public static final REVLibError kSparkFlexBrushedWithoutDock
    • kInvalidBrushlessEncoderConfiguration

      public static final REVLibError kInvalidBrushlessEncoderConfiguration
    • kFeedbackSensorIncompatibleWithDataPortConfig

      public static final REVLibError kFeedbackSensorIncompatibleWithDataPortConfig
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static REVLibError[] 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 REVLibError 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
    • fromInt

      public static REVLibError fromInt(int value)