Enum Class TalonSRXSwerve.CTRE_slotIdx

java.lang.Object
java.lang.Enum<TalonSRXSwerve.CTRE_slotIdx>
swervelib.motors.TalonSRXSwerve.CTRE_slotIdx
All Implemented Interfaces:
Serializable, Comparable<TalonSRXSwerve.CTRE_slotIdx>, Constable
Enclosing class:
TalonSRXSwerve

static enum TalonSRXSwerve.CTRE_slotIdx extends Enum<TalonSRXSwerve.CTRE_slotIdx>
The Talon SRX Slot profile used to configure the motor to use for the PID.
  • Enum Constant Details

  • Constructor Details

    • CTRE_slotIdx

      private CTRE_slotIdx()
  • Method Details

    • values

      public static TalonSRXSwerve.CTRE_slotIdx[] 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 TalonSRXSwerve.CTRE_slotIdx 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