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 | DutyCycleOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0% output to 100% during open-loop modes. More... | |
double | VoltageOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0V output to 12V during open-loop modes. More... | |
double | TorqueOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0A output to 300A during open-loop 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::OpenLoopRampsConfigs::DutyCycleOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0% output to 100% during open-loop modes.
Minimum Value: 0 Maximum Value: 1 Default Value: 0 Units: sec
double ctre::phoenixpro::configs::OpenLoopRampsConfigs::TorqueOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0A output to 300A during open-loop modes.
Minimum Value: 0 Maximum Value: 10 Default Value: 0 Units: sec
double ctre::phoenixpro::configs::OpenLoopRampsConfigs::VoltageOpenLoopRampPeriod = 0 |
If non-zero, this determines how much time to ramp from 0V output to 12V during open-loop modes.
Minimum Value: 0 Maximum Value: 1 Default Value: 0 Units: sec