GyroTrimConfigs Class

Configs to trim the Pigeon2's gyroscope.

Pigeon2 allows the user to trim the gyroscope's sensitivity. While this isn't necessary for the Pigeon2, as it comes calibrated out-of-the-box, users can make use of this to make the Pigeon2 even more accurate for their application.

Definition

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

Constructors

GyroTrimConfigsInitializes a new instance of the GyroTrimConfigs 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

GyroScalarX The gyro scalar component for the X axis
  • Minimum Value – -180
  • Maximum Value – 180
  • Default Value – 0
  • Units – deg per rotation
GyroScalarY The gyro scalar component for the Y axis
  • Minimum Value – -180
  • Maximum Value – 180
  • Default Value – 0
  • Units – deg per rotation
GyroScalarZ The gyro scalar component for the Z axis
  • Minimum Value – -180
  • Maximum Value – 180
  • Default Value – 0
  • Units – deg per rotation

See Also