Class TalonFXConfiguration
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class TalonFXConfiguration extends Object implements ParentConfiguration
TalonFX
-
Field Summary
Fields Modifier and Type Field Description AudioConfigs
Audio
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.ClosedLoopGeneralConfigs
ClosedLoopGeneral
Deprecated, for removal: This API element is subject to removal in a future version.Configs that affect general behavior during closed-looping.ClosedLoopRampsConfigs
ClosedLoopRamps
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.CurrentLimitsConfigs
CurrentLimits
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect current limiting features.CustomParamsConfigs
CustomParams
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.FeedbackConfigs
Feedback
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.boolean
FutureProofConfigs
Deprecated, for removal: This API element is subject to removal in a future version.True if we should factory default newer unsupported configs, false to leave newer unsupported configs alone.HardwareLimitSwitchConfigs
HardwareLimitSwitch
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.MotionMagicConfigs
MotionMagic
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.MotorOutputConfigs
MotorOutput
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.OpenLoopRampsConfigs
OpenLoopRamps
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Slot0Configs
Slot0
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 0 areSlot1Configs
Slot1
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 1 areSlot2Configs
Slot2
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 2 areSoftwareLimitSwitchConfigs
SoftwareLimitSwitch
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.TorqueCurrentConfigs
TorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.VoltageConfigs
Voltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage-specific configs -
Constructor Summary
Constructors Constructor Description TalonFXConfiguration()
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and Type Method Description StatusCode
deserialize(String string)
Deprecated, for removal: This API element is subject to removal in a future version.Take a string and deserialize it to this configurationString
serialize()
Deprecated, for removal: This API element is subject to removal in a future version.Get the serialized form of this configurationString
toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
FutureProofConfigs
Deprecated, for removal: This API element is subject to removal in a future version.True if we should factory default newer unsupported configs, false to leave newer unsupported configs alone.This flag addresses a corner case where the device may have firmware with newer configs that didn't exist when this version of the API was built. If this occurs and this flag is true, unsupported new configs will be factory defaulted to avoid unexpected behavior.
This is also the behavior in Phoenix 5, so this flag is defaulted to true to match.
-
Slot0
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 0 areIf this slot is selected, these gains are used in closed loop control requests.
-
Slot1
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 1 areIf this slot is selected, these gains are used in closed loop control requests.
-
Slot2
Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 2 areIf this slot is selected, these gains are used in closed loop control requests.
-
MotorOutput
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
CurrentLimits
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect current limiting features.Includes Motor Invert and various limit features.
-
Voltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage-specific configsVoltage-specific configs
-
TorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
Feedback
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
OpenLoopRamps
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
ClosedLoopRamps
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
HardwareLimitSwitch
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
Audio
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
SoftwareLimitSwitch
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
MotionMagic
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
CustomParams
Deprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Includes Motor Invert and various limit features.
-
ClosedLoopGeneral
Deprecated, for removal: This API element is subject to removal in a future version.Configs that affect general behavior during closed-looping.Includes Continuous Wrap features.
-
-
Constructor Details
-
TalonFXConfiguration
public TalonFXConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
serialize
Deprecated, for removal: This API element is subject to removal in a future version.Get the serialized form of this configuration- Specified by:
serialize
in interfaceISerializable
- Returns:
- Serialized form of this config group
-
deserialize
Deprecated, for removal: This API element is subject to removal in a future version.Take a string and deserialize it to this configuration- Specified by:
deserialize
in interfaceParentConfiguration
- Returns:
- Return code of the deserialize method
-