CANcoderConfiguration Class

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

Definition

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

Constructors

CANcoderConfigurationInitializes a new instance of the CANcoderConfiguration 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

MagnetSensor Configs that affect the magnet sensor and how to interpret it.

Includes sensor range and other configs related to sensor.

See Also