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 AudioConfigsAudioDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.ClosedLoopGeneralConfigsClosedLoopGeneralDeprecated, for removal: This API element is subject to removal in a future version.Configs that affect general behavior during closed-looping.ClosedLoopRampsConfigsClosedLoopRampsDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.CurrentLimitsConfigsCurrentLimitsDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect current limiting features.CustomParamsConfigsCustomParamsDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.FeedbackConfigsFeedbackDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.booleanFutureProofConfigsDeprecated, 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.HardwareLimitSwitchConfigsHardwareLimitSwitchDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.MotionMagicConfigsMotionMagicDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.MotorOutputConfigsMotorOutputDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.OpenLoopRampsConfigsOpenLoopRampsDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.Slot0ConfigsSlot0Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 0 areSlot1ConfigsSlot1Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 1 areSlot2ConfigsSlot2Deprecated, for removal: This API element is subject to removal in a future version.What the gains for slot 2 areSoftwareLimitSwitchConfigsSoftwareLimitSwitchDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.TorqueCurrentConfigsTorqueCurrentDeprecated, for removal: This API element is subject to removal in a future version.Configs that directly affect motor-output.VoltageConfigsVoltageDeprecated, 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 StatusCodedeserialize(String string)Deprecated, for removal: This API element is subject to removal in a future version.Take a string and deserialize it to this configurationStringserialize()Deprecated, for removal: This API element is subject to removal in a future version.Get the serialized form of this configurationStringtoString()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:
serializein 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:
deserializein interfaceParentConfiguration- Returns:
- Return code of the deserialize method
-