CTRE Phoenix C++ 5.33.1
ctre::phoenix::sensors::Pigeon2Configuration Struct Reference

Configurables available to Pigeon. More...

#include <ctre/phoenix/sensors/Pigeon2.h>

Inheritance diagram for ctre::phoenix::sensors::Pigeon2Configuration:
ctre::phoenix::CustomParamConfiguration

Public Member Functions

 Pigeon2Configuration ()
 
std::string toString ()
 
std::string toString (std::string prependString)
 
- Public Member Functions inherited from ctre::phoenix::CustomParamConfiguration
 CustomParamConfiguration ()
 
std::string toString ()
 
std::string toString (std::string prependString)
 

Public Attributes

double MountPoseYaw {0}
 
double MountPosePitch {0}
 
double MountPoseRoll {0}
 
bool EnableCompass {false}
 
bool DisableTemperatureCompensation {false}
 
bool DisableNoMotionCalibration {false}
 
double XAxisGyroError {0}
 
double YAxisGyroError {0}
 
double ZAxisGyroError {0}
 
- Public Attributes inherited from ctre::phoenix::CustomParamConfiguration
int customParam0
 Custom Param 0. More...
 
int customParam1
 Custom Param 1. More...
 
bool enableOptimizations
 Enable optimizations for ConfigAll (defaults true) More...
 

Detailed Description

Configurables available to Pigeon.

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.

Constructor & Destructor Documentation

◆ Pigeon2Configuration()

ctre::phoenix::sensors::Pigeon2Configuration::Pigeon2Configuration ( )
inline

Member Function Documentation

◆ toString() [1/2]

std::string ctre::phoenix::sensors::Pigeon2Configuration::toString ( )
inline
Returns
String representation of configs

◆ toString() [2/2]

std::string ctre::phoenix::sensors::Pigeon2Configuration::toString ( std::string  prependString)
inline
Parameters
prependStringString to prepend to configs
Returns
String representation of configs

Member Data Documentation

◆ DisableNoMotionCalibration

bool ctre::phoenix::sensors::Pigeon2Configuration::DisableNoMotionCalibration {false}

◆ DisableTemperatureCompensation

bool ctre::phoenix::sensors::Pigeon2Configuration::DisableTemperatureCompensation {false}

◆ EnableCompass

bool ctre::phoenix::sensors::Pigeon2Configuration::EnableCompass {false}

◆ MountPosePitch

double ctre::phoenix::sensors::Pigeon2Configuration::MountPosePitch {0}

◆ MountPoseRoll

double ctre::phoenix::sensors::Pigeon2Configuration::MountPoseRoll {0}

◆ MountPoseYaw

double ctre::phoenix::sensors::Pigeon2Configuration::MountPoseYaw {0}

◆ XAxisGyroError

double ctre::phoenix::sensors::Pigeon2Configuration::XAxisGyroError {0}

◆ YAxisGyroError

double ctre::phoenix::sensors::Pigeon2Configuration::YAxisGyroError {0}

◆ ZAxisGyroError

double ctre::phoenix::sensors::Pigeon2Configuration::ZAxisGyroError {0}

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