VoltageConfigs Class

Voltage-specific configs

Voltage-specific configs

Definition

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

Constructors

VoltageConfigsInitializes a new instance of the VoltageConfigs 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

PeakForwardVoltage Maximum (forward) output during voltage based control modes.
  • Minimum Value – -16
  • Maximum Value – 16
  • Default Value – 16
  • Units – V
PeakReverseVoltage Minimum (reverse) output during voltage based control modes.
  • Minimum Value – -16
  • Maximum Value – 16
  • Default Value – -16
  • Units – V
SupplyVoltageTimeConstant The time constant (in seconds) of the low-pass filter for the supply voltage.

This impacts the filtering for the reported supply voltage, and any control strategies that use the supply voltage (such as voltage control on a motor controller).

  • Minimum Value – 0.0
  • Maximum Value – 0.1
  • Default Value – 0
  • Units – sec

See Also