Package com.ctre.phoenixpro.configs
Class ClosedLoopGeneralConfigs
java.lang.Object
com.ctre.phoenixpro.configs.ClosedLoopGeneralConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class ClosedLoopGeneralConfigs 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 affect general behavior during closed-looping.
Includes Continuous Wrap features.
-
Field Summary
Fields Modifier and Type Field Description boolean
ContinuousWrap
Deprecated, for removal: This API element is subject to removal in a future version.Wrap position error within [-0.5,+0.5) mechanism rotations. -
Constructor Summary
Constructors Constructor Description ClosedLoopGeneralConfigs()
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
-
ContinuousWrap
Deprecated, for removal: This API element is subject to removal in a future version.Wrap position error within [-0.5,+0.5) mechanism rotations. Typically used for continuous position closed-loops like swerve azimuth.This uses the mechanism rotation value. If there is a gear ratio between the sensor and the mechanism, make sure to apply a SensorToMechanismRatio so the closed loop operates on the full rotation.
- Default Value: False
-
-
Constructor Details
-
ClosedLoopGeneralConfigs
public ClosedLoopGeneralConfigs()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
-