ClosedLoopGeneralConfigs Class

Configs that affect general behavior during closed-looping.

Includes Continuous Wrap features.

Definition

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

Constructors

ClosedLoopGeneralConfigsInitializes a new instance of the ClosedLoopGeneralConfigs class

Methods

Deserialize Deserialize string and put values into this object
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 Serialize this object into a string
ToString Provides the string representation of this object
(Overrides ObjectToString)

Fields

ContinuousWrap Wrap position error within [-0.5,+0.5) mechanism rotations. Typically used for continuous position closed-loops like swerve azimuth.

This uses the mechanism rotation value. If there is a gear ratio between the sensor and the mechanism, make sure to apply a SensorToMechanismRatio so the closed loop operates on the full rotation.

  • Default Value – False

See Also