CTRE Phoenix 6 C++ 23.10.0-alpha-8
|
Configs that affect the closed-loop control of this motor controller. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
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 | DutyCycleClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0% output to 100% during closed-loop modes. More... | |
double | VoltageClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0V output to 12V during closed-loop modes. More... | |
double | TorqueClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0A output to 300A during closed-loop modes. More... | |
Configs that affect the closed-loop control of this motor controller.
Closed-loop ramp rates for the various control types.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
double ctre::phoenix6::configs::ClosedLoopRampsConfigs::DutyCycleClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0% output to 100% during closed-loop modes.
Minimum Value: 0 Maximum Value: 1 Default Value: 0 Units: sec
double ctre::phoenix6::configs::ClosedLoopRampsConfigs::TorqueClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0A output to 300A during closed-loop modes.
Minimum Value: 0 Maximum Value: 10 Default Value: 0 Units: sec
double ctre::phoenix6::configs::ClosedLoopRampsConfigs::VoltageClosedLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0V output to 12V during closed-loop modes.
Minimum Value: 0 Maximum Value: 1 Default Value: 0 Units: sec