Enum Class FollowerType

java.lang.Object
java.lang.Enum<FollowerType>
com.ctre.phoenix.motorcontrol.FollowerType
All Implemented Interfaces:
Serializable, Comparable<FollowerType>, Constable

public enum FollowerType extends Enum<FollowerType>
Choose the type of follower
  • Enum Constant Details

    • PercentOutput

      public static final FollowerType PercentOutput
      Follow the percentOutput the master is using
    • AuxOutput1

      public static final FollowerType AuxOutput1
      Follow the auxiliary output the master is calculating. Used for 2-axis control. This typically means apply PID0 - PID1 from master.
  • Field Details

    • value

      public int value
      Value of follower type
  • Method Details

    • values

      public static FollowerType[] 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 FollowerType 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