CTRE Phoenix Pro C++ 23.0.12
|
Configs to trim the Pigeon2's gyroscope. More...
#include <ctre/phoenixpro/configs/Configs.hpp>
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 | 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.
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
|
inlinevirtual |
Implements ctre::phoenixpro::ISerializable.
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
double ctre::phoenixpro::configs::GyroTrimConfigs::GyroScalarX = 0 |
The gyro scalar component for the X axis.
Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotation
double ctre::phoenixpro::configs::GyroTrimConfigs::GyroScalarY = 0 |
The gyro scalar component for the Y axis.
Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotation
double ctre::phoenixpro::configs::GyroTrimConfigs::GyroScalarZ = 0 |
The gyro scalar component for the Z axis.
Minimum Value: -180 Maximum Value: 180 Default Value: 0 Units: deg per rotation