CTRE Phoenix 6 C++ 24.50.0-alpha-2
|
Configs for Pigeon 2's Mount Pose configuration. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
constexpr | MountPoseConfigs ()=default |
constexpr MountPoseConfigs & | WithMountPoseYaw (units::angle::degree_t newMountPoseYaw) |
Modifies this configuration's MountPoseYaw parameter and returns itself for method-chaining and easier to use config API. More... | |
constexpr MountPoseConfigs & | WithMountPosePitch (units::angle::degree_t newMountPosePitch) |
Modifies this configuration's MountPosePitch parameter and returns itself for method-chaining and easier to use config API. More... | |
constexpr MountPoseConfigs & | WithMountPoseRoll (units::angle::degree_t 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 | |
units::angle::degree_t | MountPoseYaw = 0_deg |
The mounting calibration yaw-component. More... | |
units::angle::degree_t | MountPosePitch = 0_deg |
The mounting calibration pitch-component. More... | |
units::angle::degree_t | MountPoseRoll = 0_deg |
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.
|
constexprdefault |
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineconstexpr |
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 |
|
inlineconstexpr |
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 |
|
inlineconstexpr |
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 |
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPosePitch = 0_deg |
The mounting calibration pitch-component.
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPoseRoll = 0_deg |
The mounting calibration roll-component.
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPoseYaw = 0_deg |
The mounting calibration yaw-component.