Package com.ctre.phoenix
Class CANifierConfiguration
java.lang.Object
com.ctre.phoenix.CustomParamConfiguration
com.ctre.phoenix.CANifierConfiguration
public class CANifierConfiguration extends CustomParamConfiguration
Configurables available to CANifier
-
Field Summary
Fields Modifier and Type Field Description boolean
clearPositionOnLimitF
Whether to clear sensor position on forward limitboolean
clearPositionOnLimitR
Whether to clear sensor position on reverse limitboolean
clearPositionOnQuadIdx
Whether to clear sensor position on indexVelocityPeriod
velocityMeasurementPeriod
Velocity measurement period to useint
velocityMeasurementWindow
Velocity measurement window to useFields inherited from class com.ctre.phoenix.CustomParamConfiguration
customParam0, customParam1, enableOptimizations
-
Constructor Summary
Constructors Constructor Description CANifierConfiguration()
-
Method Summary
-
Field Details
-
velocityMeasurementPeriod
Velocity measurement period to use -
velocityMeasurementWindow
Velocity measurement window to use -
clearPositionOnLimitF
Whether to clear sensor position on forward limit -
clearPositionOnLimitR
Whether to clear sensor position on reverse limit -
clearPositionOnQuadIdx
Whether to clear sensor position on index
-
-
Constructor Details
-
Method Details
-
toString
- Overrides:
toString
in classCustomParamConfiguration
- Returns:
- String representation of configs
-
toString
- Overrides:
toString
in classCustomParamConfiguration
- Parameters:
prependString
- String to prepend to configs- Returns:
- String representation of configs
-