TalonFXConfiguration Class

[Missing <summary> documentation for "T:CTRE.Phoenix6.Configs.TalonFXConfiguration"]

Definition

Namespace: CTRE.Phoenix6.Configs
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public class TalonFXConfiguration
Inheritance
Object    TalonFXConfiguration

Constructors

TalonFXConfigurationInitializes a new instance of the TalonFXConfiguration class

Properties

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

Methods

Deserialize 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Serialize 
ToString Provides the string representation of this object
(Overrides ObjectToString)

Fields

Audio Configs that affect audible components of the device.

Includes configuration for the beep on boot.

ClosedLoopGeneral Configs that affect general behavior during closed-looping.

Includes Continuous Wrap features.

ClosedLoopRamps Configs that affect the closed-loop control of this motor controller.

Closed-loop ramp rates for the various control types.

CurrentLimits Configs that directly affect current limiting features.

Contains the supply/stator current limit thresholds and whether to enable them or not.

CustomParams Custom Params.

Custom paramaters that have no real impact on controller.

DifferentialConstants Configs related to constants used for differential control of a mechanism.

Includes the differential peak outputs.

DifferentialSensors Configs related to sensors used for differential control of a mechanism.

Includes the differential sensor sources and IDs.

Feedback Configs that affect the feedback of this motor controller.

Includes feedback sensor source, any offsets for the feedback sensor, and various ratios to describe the relationship between the sensor and the mechanism for closed looping.

HardwareLimitSwitch Configs that change how the motor controller behaves under different limit switch statse.

Includes configs such as enabling limit switches, configuring the remote sensor ID, the source, and the position to set on limit.

MotionMagic Configs for Motion Magic®.

Includes Velocity, Acceleration, and Jerk parameters.

MotorOutput Configs that directly affect motor-output.

Includes Motor Invert and various limit features.

OpenLoopRamps Configs that affect the open-loop control of this motor controller.

Open-loop ramp rates for the various control types.

Slot0 Gains for the specified slot.

If this slot is selected, these gains are used in closed loop control requests.

Slot1 Gains for the specified slot.

If this slot is selected, these gains are used in closed loop control requests.

Slot2 Gains for the specified slot.

If this slot is selected, these gains are used in closed loop control requests.

SoftwareLimitSwitch Configs that affect how software-limit switches behave.

Includes enabling software-limit switches and the threshold at which they're tripped.

TorqueCurrent Configs to control the maximum and minimum applied torque when using Torque Current control types.

Similar to peak output, but for the TorqueCurrentFOC control type requests.

Voltage Voltage-specific configs

Voltage-specific configs

See Also