Configs for Pigeon 2's Mount Pose configuration.
More...
#include <ctre/phoenix6/configs/Configs.hpp>
|
units::angle::degree_t | MountPoseYaw = 0_deg |
| The mounting calibration yaw-component.
|
|
units::angle::degree_t | MountPosePitch = 0_deg |
| The mounting calibration pitch-component.
|
|
units::angle::degree_t | MountPoseRoll = 0_deg |
| The mounting calibration roll-component.
|
|
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.
◆ MountPoseConfigs()
constexpr ctre::phoenix6::configs::MountPoseConfigs::MountPoseConfigs |
( |
| ) |
|
|
constexprdefault |
◆ Deserialize()
◆ Serialize()
std::string ctre::phoenix6::configs::MountPoseConfigs::Serialize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ToString()
std::string ctre::phoenix6::configs::MountPoseConfigs::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ WithMountPosePitch()
constexpr MountPoseConfigs & ctre::phoenix6::configs::MountPoseConfigs::WithMountPosePitch |
( |
units::angle::degree_t | newMountPosePitch | ) |
|
|
inlineconstexpr |
Modifies this configuration's MountPosePitch parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration pitch-component.
- Minimum Value: -360
- Maximum Value: 360
- Default Value: 0
- Units: deg
- Parameters
-
newMountPosePitch | Parameter to modify |
- Returns
- Itself
◆ WithMountPoseRoll()
constexpr MountPoseConfigs & ctre::phoenix6::configs::MountPoseConfigs::WithMountPoseRoll |
( |
units::angle::degree_t | newMountPoseRoll | ) |
|
|
inlineconstexpr |
Modifies this configuration's MountPoseRoll parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration roll-component.
- Minimum Value: -360
- Maximum Value: 360
- Default Value: 0
- Units: deg
- Parameters
-
newMountPoseRoll | Parameter to modify |
- Returns
- Itself
◆ WithMountPoseYaw()
constexpr MountPoseConfigs & ctre::phoenix6::configs::MountPoseConfigs::WithMountPoseYaw |
( |
units::angle::degree_t | newMountPoseYaw | ) |
|
|
inlineconstexpr |
Modifies this configuration's MountPoseYaw parameter and returns itself for method-chaining and easier to use config API.
The mounting calibration yaw-component.
- Minimum Value: -360
- Maximum Value: 360
- Default Value: 0
- Units: deg
- Parameters
-
newMountPoseYaw | Parameter to modify |
- Returns
- Itself
◆ MountPosePitch
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPosePitch = 0_deg |
The mounting calibration pitch-component.
- Minimum Value: -360
- Maximum Value: 360
- Default Value: 0
- Units: deg
◆ MountPoseRoll
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPoseRoll = 0_deg |
The mounting calibration roll-component.
- Minimum Value: -360
- Maximum Value: 360
- Default Value: 0
- Units: deg
◆ MountPoseYaw
units::angle::degree_t ctre::phoenix6::configs::MountPoseConfigs::MountPoseYaw = 0_deg |
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: