Package com.ctre.phoenixpro.configs
Class Pigeon2FeaturesConfigs
java.lang.Object
com.ctre.phoenixpro.configs.Pigeon2FeaturesConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class Pigeon2FeaturesConfigs 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 to enable/disable various features of the Pigeon2.
These configs allow the user to enable or disable various aspects of the Pigeon2.
-
Field Summary
Fields Modifier and Type Field Description boolean
DisableNoMotionCalibration
Deprecated, for removal: This API element is subject to removal in a future version.Disables using the no-motion calibration feature Default Value: Falseboolean
DisableTemperatureCompensation
Deprecated, for removal: This API element is subject to removal in a future version.Disables using the temperature compensation feature Default Value: Falseboolean
EnableCompass
Deprecated, for removal: This API element is subject to removal in a future version.Turns on or off the magnetometer fusing for 9-axis. -
Constructor Summary
Constructors Constructor Description Pigeon2FeaturesConfigs()
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
-
EnableCompass
Deprecated, for removal: This API element is subject to removal in a future version.Turns on or off the magnetometer fusing for 9-axis. FRC users are not recommended to turn this on, as the magnetic influence of the robot will likely negatively affect the performance of the Pigeon2.- Default Value: False
-
DisableTemperatureCompensation
Deprecated, for removal: This API element is subject to removal in a future version.Disables using the temperature compensation feature- Default Value: False
-
DisableNoMotionCalibration
Deprecated, for removal: This API element is subject to removal in a future version.Disables using the no-motion calibration feature- Default Value: False
-
-
Constructor Details
-
Pigeon2FeaturesConfigs
public Pigeon2FeaturesConfigs()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
-