Package com.ctre.phoenixpro.configs
Class Pigeon2FeaturesConfigs
java.lang.Object
com.ctre.phoenixpro.configs.Pigeon2FeaturesConfigs
- All Implemented Interfaces:
ParentConfiguration,ISerializable
public class Pigeon2FeaturesConfigs extends Object implements ParentConfiguration
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 booleanDisableNoMotionCalibrationDisables using the no-motion calibration feature Default Value: FalsebooleanDisableTemperatureCompensationDisables using the temperature compensation feature Default Value: FalsebooleanEnableCompassTurns on or off the magnetometer fusing for 9-axis. -
Constructor Summary
Constructors Constructor Description Pigeon2FeaturesConfigs() -
Method Summary
Modifier and Type Method Description StatusCodedeserialize(String string)Stringserialize()StringtoString()
-
Field Details
-
EnableCompass
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
Disables using the temperature compensation feature- Default Value: False
-
DisableNoMotionCalibration
Disables using the no-motion calibration feature- Default Value: False
-
-
Constructor Details
-
Method Details
-
toString
-
deserialize
- Specified by:
deserializein interfaceParentConfiguration
-
serialize
- Specified by:
serializein interfaceISerializable
-