Util class to help with configuring CANCoder.
More...
#include <ctre/phoenix/sensors/CANCoder.h>
Util class to help with configuring CANCoder.
- 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.
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.
◆ AbsoluteSensorRangeDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::AbsoluteSensorRangeDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ InitializationStrategyDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::InitializationStrategyDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ MagnetOffsetDegreesDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::MagnetOffsetDegreesDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ SensorCoefficientDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::SensorCoefficientDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ SensorDirectionDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::SensorDirectionDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ SensorTimeBaseDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::SensorTimeBaseDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ UnitStringDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::UnitStringDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
◆ VelocityMeasurementPeriodDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::VelocityMeasurementPeriodDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
Determine if specified value is different from default.
- Parameters
-
settings | settings to compare against |
- Returns
- if specified value is different from default
◆ VelocityMeasurementWindowDifferent()
static bool ctre::phoenix::sensors::CANCoderConfigUtils::VelocityMeasurementWindowDifferent |
( |
const CANCoderConfiguration & |
settings | ) |
|
|
inlinestatic |
The documentation for this struct was generated from the following file: