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 | |
signals::InvertedValue | Inverted = signals::InvertedValue::CounterClockwise_Positive |
Invert state of the device. More... | |
signals::NeutralModeValue | NeutralMode = signals::NeutralModeValue::Coast |
The state of the motor controller bridge when output is neutral or disabled. More... | |
double | DutyCycleNeutralDeadband = 0 |
Configures the output deadband percentage. More... | |
double | PeakForwardDutyCycle = 1 |
Maximum (forward) output during duty cycle based control modes. More... | |
double | PeakReverseDutyCycle = -1 |
Minimum (reverse) output during duty cycle based control modes. 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::MotorOutputConfigs::DutyCycleNeutralDeadband = 0 |
Configures the output deadband percentage.
Minimum Value: 0.0 Maximum Value: 0.25 Default Value: 0 Units: fractional
signals::InvertedValue ctre::phoenixpro::configs::MotorOutputConfigs::Inverted = signals::InvertedValue::CounterClockwise_Positive |
Invert state of the device.
signals::NeutralModeValue ctre::phoenixpro::configs::MotorOutputConfigs::NeutralMode = signals::NeutralModeValue::Coast |
The state of the motor controller bridge when output is neutral or disabled.
double ctre::phoenixpro::configs::MotorOutputConfigs::PeakForwardDutyCycle = 1 |
Maximum (forward) output during duty cycle based control modes.
Minimum Value: -1.0 Maximum Value: 1.0 Default Value: 1 Units: fractional
double ctre::phoenixpro::configs::MotorOutputConfigs::PeakReverseDutyCycle = -1 |
Minimum (reverse) output during duty cycle based control modes.
Minimum Value: -1.0 Maximum Value: 1.0 Default Value: -1 Units: fractional