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 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.
-
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:
deserialize
in interfaceParentConfiguration
-
serialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
serialize
in interfaceISerializable
-