CANCoderConfigUtils
- class phoenix5.sensors.CANCoderConfigUtils
Bases:
CustomParamConfigUtil
Util class to help with configuring CANCoder
If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.
- Deprecated:
This device’s Phoenix 5 API is deprecated for removal in the 2025 season. Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API. A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.
- static absoluteSensorRangeDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static initializationStrategyDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static magnetOffsetDegreesDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static sensorCoefficientDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static sensorDirectionDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static sensorTimeBaseDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static unitStringDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
- static velocityMeasurementPeriodDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool
Determine if specified value is different from default
- Parameters:
settings – settings to compare against
- Returns:
if specified value is different from default @{
- static velocityMeasurementWindowDifferent(settings: phoenix5._ctre.sensors.CANCoderConfiguration) bool