Configs to enable/disable various features of the Pigeon2.
More...
#include <ctre/phoenix6/configs/Configs.hpp>
Configs to enable/disable various features of the Pigeon2.
These configs allow the user to enable or disable various aspects of the Pigeon2.
◆ Pigeon2FeaturesConfigs()
constexpr ctre::phoenix6::configs::Pigeon2FeaturesConfigs::Pigeon2FeaturesConfigs |
( |
| ) |
|
|
constexprdefault |
◆ Deserialize()
◆ Serialize()
std::string ctre::phoenix6::configs::Pigeon2FeaturesConfigs::Serialize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ToString()
std::string ctre::phoenix6::configs::Pigeon2FeaturesConfigs::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ WithDisableNoMotionCalibration()
constexpr Pigeon2FeaturesConfigs & ctre::phoenix6::configs::Pigeon2FeaturesConfigs::WithDisableNoMotionCalibration |
( |
bool | newDisableNoMotionCalibration | ) |
|
|
inlineconstexpr |
Modifies this configuration's DisableNoMotionCalibration parameter and returns itself for method-chaining and easier to use config API.
Disables using the no-motion calibration feature.
- Parameters
-
newDisableNoMotionCalibration | Parameter to modify |
- Returns
- Itself
◆ WithDisableTemperatureCompensation()
constexpr Pigeon2FeaturesConfigs & ctre::phoenix6::configs::Pigeon2FeaturesConfigs::WithDisableTemperatureCompensation |
( |
bool | newDisableTemperatureCompensation | ) |
|
|
inlineconstexpr |
Modifies this configuration's DisableTemperatureCompensation parameter and returns itself for method-chaining and easier to use config API.
Disables using the temperature compensation feature.
- Parameters
-
newDisableTemperatureCompensation | Parameter to modify |
- Returns
- Itself
◆ WithEnableCompass()
constexpr Pigeon2FeaturesConfigs & ctre::phoenix6::configs::Pigeon2FeaturesConfigs::WithEnableCompass |
( |
bool | newEnableCompass | ) |
|
|
inlineconstexpr |
Modifies this configuration's EnableCompass parameter and returns itself for method-chaining and easier to use config API.
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.
- Parameters
-
newEnableCompass | Parameter to modify |
- Returns
- Itself
◆ DisableNoMotionCalibration
bool ctre::phoenix6::configs::Pigeon2FeaturesConfigs::DisableNoMotionCalibration = false |
Disables using the no-motion calibration feature.
◆ DisableTemperatureCompensation
bool ctre::phoenix6::configs::Pigeon2FeaturesConfigs::DisableTemperatureCompensation = false |
Disables using the temperature compensation feature.
◆ EnableCompass
bool ctre::phoenix6::configs::Pigeon2FeaturesConfigs::EnableCompass = false |
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.
The documentation for this class was generated from the following file: