Enum Class BridgeOutputValue

java.lang.Object
java.lang.Enum<BridgeOutputValue>
com.ctre.phoenix6.signals.BridgeOutputValue
All Implemented Interfaces:
Serializable, Comparable<BridgeOutputValue>, Constable

public enum BridgeOutputValue extends Enum<BridgeOutputValue>
The applied output of the bridge.
  • Enum Constant Details

    • BridgeReq_Coast

      public static final BridgeOutputValue BridgeReq_Coast
      Coasting.
    • BridgeReq_Brake

      public static final BridgeOutputValue BridgeReq_Brake
      Braking.
    • BridgeReq_Trapez

      public static final BridgeOutputValue BridgeReq_Trapez
      Driving with non-FOC duty cycle/voltage control.
    • BridgeReq_FOCTorque

      public static final BridgeOutputValue BridgeReq_FOCTorque
      Driving with FOC torque control.
    • BridgeReq_MusicTone

      public static final BridgeOutputValue BridgeReq_MusicTone
      Playing music.
    • BridgeReq_FOCEasy

      public static final BridgeOutputValue BridgeReq_FOCEasy
      Driving with FOC duty cycle/voltage control.
    • BridgeReq_FaultBrake

      public static final BridgeOutputValue BridgeReq_FaultBrake
      Fault braking.
    • BridgeReq_FaultCoast

      public static final BridgeOutputValue BridgeReq_FaultCoast
      Fault coasting.
    • BridgeReq_ActiveBrake

      public static final BridgeOutputValue BridgeReq_ActiveBrake
      Active braking.
    • BridgeReq_VariableBrake

      public static final BridgeOutputValue BridgeReq_VariableBrake
      Variable braking.
  • Field Details

    • value

      public final int value
      Unique integer value of this BridgeOutputValue.
  • Method Details

    • values

      public static BridgeOutputValue[] 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 BridgeOutputValue 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
    • valueOf

      public static BridgeOutputValue valueOf(int value)
      Gets BridgeOutputValue from specified value
      Parameters:
      value - Value of BridgeOutputValue
      Returns:
      BridgeOutputValue of specified value