Class VoltageConfigs

java.lang.Object
com.ctre.phoenixpro.configs.VoltageConfigs
All Implemented Interfaces:
ParentConfiguration, ISerializable

@Deprecated(forRemoval=true)
public class VoltageConfigs
extends Object
implements ParentConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024. Users should instead use classes from the phoenix6 package.
Voltage-specific configs

Voltage-specific configs

  • Field Summary

    Fields 
    Modifier and Type Field Description
    double PeakForwardVoltage
    Deprecated, for removal: This API element is subject to removal in a future version.
    Maximum (forward) output during voltage based control modes.
    double PeakReverseVoltage
    Deprecated, for removal: This API element is subject to removal in a future version.
    Minimum (reverse) output during voltage based control modes.
    double SupplyVoltageTimeConstant
    Deprecated, for removal: This API element is subject to removal in a future version.
    The time constant (in seconds) of the low-pass filter for the supply voltage.
  • Constructor Summary

    Constructors 
    Constructor Description
    VoltageConfigs()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type Method Description
    StatusCode deserialize​(String string)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    String serialize()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    String toString()
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • SupplyVoltageTimeConstant

      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • PeakForwardVoltage

      public double PeakForwardVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Maximum (forward) output during voltage based control modes.
      • Minimum Value: -16
      • Maximum Value: 16
      • Default Value: 16
      • Units: V
    • PeakReverseVoltage

      public double PeakReverseVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Minimum (reverse) output during voltage based control modes.
      • Minimum Value: -16
      • Maximum Value: 16
      • Default Value: -16
      • Units: V
  • Constructor Details

  • Method Details