Package com.ctre.phoenixpro.configs
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 booleanForwardSoftLimitEnableDeprecated, 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.doubleForwardSoftLimitThresholdDeprecated, for removal: This API element is subject to removal in a future version.Position threshold for forward soft limit features.booleanReverseSoftLimitEnableDeprecated, 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.doubleReverseSoftLimitThresholdDeprecated, 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 StatusCodedeserialize(String string)Deprecated, for removal: This API element is subject to removal in a future version.Stringserialize()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
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
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
-
SoftwareLimitSwitchConfigs
public SoftwareLimitSwitchConfigs()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
deserialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deserializein interfaceParentConfiguration
-
serialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
serializein interfaceISerializable
-