Class SoftwareLimitSwitchConfigs

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

@Deprecated(forRemoval=true)
public class SoftwareLimitSwitchConfigs
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.
Configs that directly affect motor-output.

Includes Motor Invert and various limit features.

  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean ForwardSoftLimitEnable
    Deprecated, for removal: This API element is subject to removal in a future version.
    If enabled, the motor output is set to neutral if position exceeds ForwardSoftLimitThreshold and forward output is requested.
    double ForwardSoftLimitThreshold
    Deprecated, for removal: This API element is subject to removal in a future version.
    Position threshold for forward soft limit features.
    boolean ReverseSoftLimitEnable
    Deprecated, for removal: This API element is subject to removal in a future version.
    If enabled, the motor output is set to neutral if position exceeds ReverseSoftLimitThreshold and reverse output is requested.
    double ReverseSoftLimitThreshold
    Deprecated, for removal: This API element is subject to removal in a future version.
    Position threshold for reverse soft limit features.
  • Constructor Summary

    Constructors 
    Constructor Description
    SoftwareLimitSwitchConfigs()
    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

    • ForwardSoftLimitEnable

      public boolean ForwardSoftLimitEnable
      Deprecated, for removal: This API element is subject to removal in a future version.
      If enabled, the motor output is set to neutral if position exceeds ForwardSoftLimitThreshold and forward output is requested.
      • Default Value: False
    • ReverseSoftLimitEnable

      public boolean ReverseSoftLimitEnable
      Deprecated, for removal: This API element is subject to removal in a future version.
      If enabled, the motor output is set to neutral if position exceeds ReverseSoftLimitThreshold and reverse output is requested.
      • Default Value: False
    • ForwardSoftLimitThreshold

      Deprecated, for removal: This API element is subject to removal in a future version.
      Position threshold for forward soft limit features. ForwardSoftLimitEnable must be enabled for this to take effect.
      • Minimum Value: -3.4e+38
      • Maximum Value: 3.4e+38
      • Default Value: 0
      • Units: rotations
    • ReverseSoftLimitThreshold

      Deprecated, for removal: This API element is subject to removal in a future version.
      Position threshold for reverse soft limit features. ReverseSoftLimitEnable must be enabled for this to take effect.
      • Minimum Value: -3.4e+38
      • Maximum Value: 3.4e+38
      • Default Value: 0
      • Units: rotations
  • Constructor Details

  • Method Details