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 | |
bool | ForwardSoftLimitEnable = false |
If enabled, the motor output is set to neutral if position exceeds ForwardSoftLimitThreshold and forward output is requested. More... | |
bool | ReverseSoftLimitEnable = false |
If enabled, the motor output is set to neutral if position exceeds ReverseSoftLimitThreshold and reverse output is requested. More... | |
double | ForwardSoftLimitThreshold = 0 |
Position threshold for forward soft limit features. More... | |
double | ReverseSoftLimitThreshold = 0 |
Position threshold for reverse soft limit features. 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.
bool ctre::phoenixpro::configs::SoftwareLimitSwitchConfigs::ForwardSoftLimitEnable = false |
If enabled, the motor output is set to neutral if position exceeds ForwardSoftLimitThreshold and forward output is requested.
Default Value: False
double ctre::phoenixpro::configs::SoftwareLimitSwitchConfigs::ForwardSoftLimitThreshold = 0 |
Position threshold for forward soft limit features.
ForwardSoftLimitEnable must be enabled for this to take effect.
Minimum Value: -3.4e+38 Maximum Value: 3.4e+38 Default Value: 0 Units: rotations
bool ctre::phoenixpro::configs::SoftwareLimitSwitchConfigs::ReverseSoftLimitEnable = false |
If enabled, the motor output is set to neutral if position exceeds ReverseSoftLimitThreshold and reverse output is requested.
Default Value: False
double ctre::phoenixpro::configs::SoftwareLimitSwitchConfigs::ReverseSoftLimitThreshold = 0 |
Position threshold for reverse soft limit features.
ReverseSoftLimitEnable must be enabled for this to take effect.
Minimum Value: -3.4e+38 Maximum Value: 3.4e+38 Default Value: 0 Units: rotations