Package com.ctre.phoenix.motorcontrol
Enum TalonFXFeedbackDevice
- All Implemented Interfaces:
Serializable
,Comparable<TalonFXFeedbackDevice>
,java.lang.constant.Constable
@Deprecated(since="2024", forRemoval=true) public enum TalonFXFeedbackDevice extends Enum<TalonFXFeedbackDevice>
Deprecated, for removal: This API element is subject to removal in a future version.
This device's Phoenix 5 API is deprecated for removal in the
2025 season. Users should update to Phoenix 6 firmware and migrate to the
Phoenix 6 API. A migration guide is available at
https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.
If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.
Choose the feedback device for a selected sensor
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description IntegratedSensor
Deprecated, for removal: This API element is subject to removal in a future version.TalonFX supports an integrated sensor.None
Deprecated, for removal: This API element is subject to removal in a future version.Position and velocity will read 0.RemoteSensor0
Deprecated, for removal: This API element is subject to removal in a future version.Sensor configured in RemoteFilter0RemoteSensor1
Deprecated, for removal: This API element is subject to removal in a future version.Sensor configured in RemoteFilter1SensorDifference
Deprecated, for removal: This API element is subject to removal in a future version.Diff0 - Diff1SensorSum
Deprecated, for removal: This API element is subject to removal in a future version.Sum0 + Sum1SoftwareEmulatedSensor
Deprecated, for removal: This API element is subject to removal in a future version.Motor Controller will fake a sensor based on applied motor output. -
Field Summary
Fields Modifier and Type Field Description int
value
Deprecated, for removal: This API element is subject to removal in a future version.Value of Feedback Device -
Method Summary
Modifier and Type Method Description FeedbackDevice
toFeedbackDevice()
Deprecated, for removal: This API element is subject to removal in a future version.Helper method to convert to generic FeedbackDevice enum.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.static TalonFXFeedbackDevice
valueOf(double value)
Deprecated, for removal: This API element is subject to removal in a future version.Get TalonFXFeedbackDevice from specified valuestatic TalonFXFeedbackDevice
valueOf(int value)
Deprecated, for removal: This API element is subject to removal in a future version.Get TalonFXFeedbackDevice from specified valuestatic TalonFXFeedbackDevice
valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static TalonFXFeedbackDevice[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IntegratedSensor
Deprecated, for removal: This API element is subject to removal in a future version.TalonFX supports an integrated sensor. -
SensorSum
Deprecated, for removal: This API element is subject to removal in a future version.Sum0 + Sum1 -
SensorDifference
Deprecated, for removal: This API element is subject to removal in a future version.Diff0 - Diff1 -
RemoteSensor0
Deprecated, for removal: This API element is subject to removal in a future version.Sensor configured in RemoteFilter0 -
RemoteSensor1
Deprecated, for removal: This API element is subject to removal in a future version.Sensor configured in RemoteFilter1 -
None
Deprecated, for removal: This API element is subject to removal in a future version.Position and velocity will read 0. -
SoftwareEmulatedSensor
Deprecated, for removal: This API element is subject to removal in a future version.Motor Controller will fake a sensor based on applied motor output.
-
-
Field Details
-
value
Deprecated, for removal: This API element is subject to removal in a future version.Value of Feedback Device
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Get TalonFXFeedbackDevice from specified value- Parameters:
value
- Value of TalonFXFeedbackDevice- Returns:
- TalonFXFeedbackDevice of specified value
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Get TalonFXFeedbackDevice from specified value- Parameters:
value
- Value of TalonFXFeedbackDevice- Returns:
- TalonFXFeedbackDevice of specified value
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classEnum<TalonFXFeedbackDevice>
- Returns:
- string representation of specified TalonFXFeedbackDevice
-
toFeedbackDevice
Deprecated, for removal: This API element is subject to removal in a future version.Helper method to convert to generic FeedbackDevice enum.- Returns:
- value cast as FeedbackDevice
-