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

Configs for Pigeon 2's Mount Pose configuration. More...

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

Inheritance diagram for ctre::phoenixpro::configs::MountPoseConfigs:
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

double MountPoseYaw = 0
 The mounting calibration yaw-component. More...
 
double MountPosePitch = 0
 The mounting calibration pitch-component. More...
 
double MountPoseRoll = 0
 The mounting calibration roll-component. More...
 

Detailed Description

Configs for Pigeon 2's Mount Pose configuration.

These configs allow the Pigeon2 to be mounted in whatever orientation that's desired and ensure the reported Yaw/Pitch/Roll is from the robot's reference.

Member Function Documentation

◆ Deserialize()

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ MountPosePitch

double ctre::phoenixpro::configs::MountPoseConfigs::MountPosePitch = 0

The mounting calibration pitch-component.

Minimum Value: -360 Maximum Value: 360 Default Value: 0 Units: deg

◆ MountPoseRoll

double ctre::phoenixpro::configs::MountPoseConfigs::MountPoseRoll = 0

The mounting calibration roll-component.

Minimum Value: -360 Maximum Value: 360 Default Value: 0 Units: deg

◆ MountPoseYaw

double ctre::phoenixpro::configs::MountPoseConfigs::MountPoseYaw = 0

The mounting calibration yaw-component.

Minimum Value: -360 Maximum Value: 360 Default Value: 0 Units: deg


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