CTRE Phoenix 6 C++ 24.3.0
|
Configs for Pigeon 2's Mount Pose configuration. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
MountPoseConfigs & | WithMountPoseYaw (double newMountPoseYaw) |
Modifies this configuration's MountPoseYaw parameter and returns itself for method-chaining and easier to use config API. More... | |
MountPoseConfigs & | WithMountPosePitch (double newMountPosePitch) |
Modifies this configuration's MountPosePitch parameter and returns itself for method-chaining and easier to use config API. More... | |
MountPoseConfigs & | WithMountPoseRoll (double newMountPoseRoll) |
Modifies this configuration's MountPoseRoll parameter and returns itself for method-chaining and easier to use config API. More... | |
std::string | ToString () const override |
std::string | Serialize () const override |
ctre::phoenix::StatusCode | Deserialize (const std::string &to_deserialize) override |
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... | |
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.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inline |
Modifies this configuration's MountPosePitch parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration pitch-component
newMountPosePitch | Parameter to modify |
|
inline |
Modifies this configuration's MountPoseRoll parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration roll-component
newMountPoseRoll | Parameter to modify |
|
inline |
Modifies this configuration's MountPoseYaw parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration yaw-component
newMountPoseYaw | Parameter to modify |
double ctre::phoenix6::configs::MountPoseConfigs::MountPosePitch = 0 |
The mounting calibration pitch-component.
double ctre::phoenix6::configs::MountPoseConfigs::MountPoseRoll = 0 |
The mounting calibration roll-component.
double ctre::phoenix6::configs::MountPoseConfigs::MountPoseYaw = 0 |
The mounting calibration yaw-component.