Class TalonFXConfiguration

java.lang.Object
com.ctre.phoenixpro.configs.TalonFXConfiguration
All Implemented Interfaces:
ParentConfiguration, ISerializable

@Deprecated(forRemoval=true)
public class TalonFXConfiguration
extends Object
implements ParentConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024. Users should instead use classes from the phoenix6 package.
Class description for the Talon FX integrated motor controller that runs on associated Falcon motors. This handles the configurations for the 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 are
    Slot1Configs Slot1
    Deprecated, for removal: This API element is subject to removal in a future version.
    What the gains for slot 1 are
    Slot2Configs Slot2
    Deprecated, for removal: This API element is subject to removal in a future version.
    What the gains for slot 2 are
    SoftwareLimitSwitchConfigs 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 configuration
    String serialize()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the serialized form of this configuration
    String toString()
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • FutureProofConfigs

      public 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.

      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 are

      If 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 are

      If 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 are

      If 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 configs

      Voltage-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

  • Method Details