Package com.ctre.phoenixpro.configs
Class GyroTrimConfigs
java.lang.Object
com.ctre.phoenixpro.configs.GyroTrimConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class GyroTrimConfigs 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 trim the Pigeon2's gyroscope.
Pigeon2 allows the user to trim the gyroscope's sensitivity. While this isn't necessary for the Pigeon2, as it comes calibrated out-of-the-box, users can make use of this to make the Pigeon2 even more accurate for their application.
-
Field Summary
Fields Modifier and Type Field Description double
GyroScalarX
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the X axis Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotationdouble
GyroScalarY
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the Y axis Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotationdouble
GyroScalarZ
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the Z axis Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotation -
Constructor Summary
Constructors Constructor Description GyroTrimConfigs()
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
-
GyroScalarX
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the X axis- Minimum Value: -180
- Maximum Value: 180
- Default Value: 0
- Units: deg per rotation
-
GyroScalarY
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the Y axis- Minimum Value: -180
- Maximum Value: 180
- Default Value: 0
- Units: deg per rotation
-
GyroScalarZ
Deprecated, for removal: This API element is subject to removal in a future version.The gyro scalar component for the Z axis- Minimum Value: -180
- Maximum Value: 180
- Default Value: 0
- Units: deg per rotation
-
-
Constructor Details
-
GyroTrimConfigs
public GyroTrimConfigs()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
-