CTRE Phoenix Pro C++ 23.0.12
ctre::phoenixpro::configs::Pigeon2FeaturesConfigs Class Reference

Configs to enable/disable various features of the Pigeon2. More...

#include <ctre/phoenixpro/configs/Configs.hpp>

Inheritance diagram for ctre::phoenixpro::configs::Pigeon2FeaturesConfigs:
ctre::phoenixpro::configs::ParentConfiguration ctre::phoenixpro::ISerializable

Public Member Functions

std::string ToString () const
 
std::string Serialize () const
 
ctre::phoenix::StatusCode Deserialize (const std::string &string)
 
virtual std::string ToString () const =0
 
virtual ctre::phoenix::StatusCode Deserialize (const std::string &string)=0
 
virtual std::string Serialize () const =0
 

Public Attributes

bool EnableCompass = false
 Turns on or off the magnetometer fusing for 9-axis. More...
 
bool DisableTemperatureCompensation = false
 Disables using the temperature compensation feature. More...
 
bool DisableNoMotionCalibration = false
 Disables using the no-motion calibration feature. More...
 

Detailed Description

Configs to enable/disable various features of the Pigeon2.

These configs allow the user to enable or disable various aspects of the Pigeon2.

Member Function Documentation

◆ Deserialize()

ctre::phoenix::StatusCode ctre::phoenixpro::configs::Pigeon2FeaturesConfigs::Deserialize ( const std::string &  string)
inlinevirtual

◆ Serialize()

std::string ctre::phoenixpro::configs::Pigeon2FeaturesConfigs::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenixpro::configs::Pigeon2FeaturesConfigs::ToString ( ) const
inlinevirtual

Member Data Documentation

◆ DisableNoMotionCalibration

bool ctre::phoenixpro::configs::Pigeon2FeaturesConfigs::DisableNoMotionCalibration = false

Disables using the no-motion calibration feature.

Default Value: False

◆ DisableTemperatureCompensation

bool ctre::phoenixpro::configs::Pigeon2FeaturesConfigs::DisableTemperatureCompensation = false

Disables using the temperature compensation feature.

Default Value: False

◆ EnableCompass

bool ctre::phoenixpro::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.

Default Value: False


The documentation for this class was generated from the following file: