|
CTRE Phoenix 6 C++ 24.3.0
|
Configs to trim the Pigeon2's gyroscope. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
| GyroTrimConfigs & | WithGyroScalarX (double newGyroScalarX) |
| Modifies this configuration's GyroScalarX parameter and returns itself for method-chaining and easier to use config API. More... | |
| GyroTrimConfigs & | WithGyroScalarY (double newGyroScalarY) |
| Modifies this configuration's GyroScalarY parameter and returns itself for method-chaining and easier to use config API. More... | |
| GyroTrimConfigs & | WithGyroScalarZ (double newGyroScalarZ) |
| Modifies this configuration's GyroScalarZ 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 | GyroScalarX = 0 |
| The gyro scalar component for the X axis. More... | |
| double | GyroScalarY = 0 |
| The gyro scalar component for the Y axis. More... | |
| double | GyroScalarZ = 0 |
| The gyro scalar component for the Z axis. More... | |
Configs to trim the Pigeon2's gyroscope.
Pigeon2 allows the user to trim the gyroscope's sensitivity. While this isn't necessary for the Pigeon2, as it comes calibrated out-of-the-box, users can make use of this to make the Pigeon2 even more accurate for their application.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inline |
Modifies this configuration's GyroScalarX parameter and returns itself for method-chaining and easier to use config API.
The gyro scalar component for the X axis
| newGyroScalarX | Parameter to modify |
|
inline |
Modifies this configuration's GyroScalarY parameter and returns itself for method-chaining and easier to use config API.
The gyro scalar component for the Y axis
| newGyroScalarY | Parameter to modify |
|
inline |
Modifies this configuration's GyroScalarZ parameter and returns itself for method-chaining and easier to use config API.
The gyro scalar component for the Z axis
| newGyroScalarZ | Parameter to modify |
| double ctre::phoenix6::configs::GyroTrimConfigs::GyroScalarX = 0 |
The gyro scalar component for the X axis.
| double ctre::phoenix6::configs::GyroTrimConfigs::GyroScalarY = 0 |
The gyro scalar component for the Y axis.
| double ctre::phoenix6::configs::GyroTrimConfigs::GyroScalarZ = 0 |
The gyro scalar component for the Z axis.