CTRE Phoenix Pro C++ 23.0.12
|
Configs that directly affect motor-output. 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 | MotionMagicCruiseVelocity = 0 |
This is the maximum velocity Motion Magic® based control modes are allowed to use. More... | |
double | MotionMagicAcceleration = 0 |
This is the target acceleration Motion Magic® based control modes are allowed to use. More... | |
double | MotionMagicJerk = 0 |
This is the target jerk (acceleration derivative) Motion Magic® based control modes are allowed to use. More... | |
Configs that directly affect motor-output.
Includes Motor Invert and various limit features.
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
|
inlinevirtual |
Implements ctre::phoenixpro::ISerializable.
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
double ctre::phoenixpro::configs::MotionMagicConfigs::MotionMagicAcceleration = 0 |
This is the target acceleration Motion Magic® based control modes are allowed to use.
Minimum Value: 0 Maximum Value: 3.4e+38 Default Value: 0 Units: rot per sec²
double ctre::phoenixpro::configs::MotionMagicConfigs::MotionMagicCruiseVelocity = 0 |
This is the maximum velocity Motion Magic® based control modes are allowed to use.
Minimum Value: 0 Maximum Value: 3.4e+38 Default Value: 0 Units: rps
double ctre::phoenixpro::configs::MotionMagicConfigs::MotionMagicJerk = 0 |
This is the target jerk (acceleration derivative) Motion Magic® based control modes are allowed to use.
This allows Motion Magic® support of S-Curves. If this is set to zero, then Motion Magic® will not apply a Jerk limit.
Minimum Value: 0 Maximum Value: 3.4e+38 Default Value: 0 Units: rot per sec³