Configs that affect the open-loop control of this motor controller.
More...
#include <ctre/phoenix6/configs/Configs.hpp>
Configs that affect the open-loop control of this motor controller.
Open-loop ramp rates for the various control types.
◆ Deserialize()
ctre::phoenix::StatusCode ctre::phoenix6::configs::OpenLoopRampsConfigs::Deserialize |
( |
const std::string & |
to_deserialize | ) |
|
|
inlineoverridevirtual |
◆ Serialize()
std::string ctre::phoenix6::configs::OpenLoopRampsConfigs::Serialize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ToString()
std::string ctre::phoenix6::configs::OpenLoopRampsConfigs::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ WithDutyCycleOpenLoopRampPeriod()
OpenLoopRampsConfigs & ctre::phoenix6::configs::OpenLoopRampsConfigs::WithDutyCycleOpenLoopRampPeriod |
( |
double |
newDutyCycleOpenLoopRampPeriod | ) |
|
|
inline |
Modifies this configuration's DutyCycleOpenLoopRampPeriod parameter and returns itself for method-chaining and easier to use config API.
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
- Parameters
-
newDutyCycleOpenLoopRampPeriod | Parameter to modify |
- Returns
- Itself
◆ WithTorqueOpenLoopRampPeriod()
OpenLoopRampsConfigs & ctre::phoenix6::configs::OpenLoopRampsConfigs::WithTorqueOpenLoopRampPeriod |
( |
double |
newTorqueOpenLoopRampPeriod | ) |
|
|
inline |
Modifies this configuration's TorqueOpenLoopRampPeriod parameter and returns itself for method-chaining and easier to use config API.
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
- Parameters
-
newTorqueOpenLoopRampPeriod | Parameter to modify |
- Returns
- Itself
◆ WithVoltageOpenLoopRampPeriod()
OpenLoopRampsConfigs & ctre::phoenix6::configs::OpenLoopRampsConfigs::WithVoltageOpenLoopRampPeriod |
( |
double |
newVoltageOpenLoopRampPeriod | ) |
|
|
inline |
Modifies this configuration's VoltageOpenLoopRampPeriod parameter and returns itself for method-chaining and easier to use config API.
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
- Parameters
-
newVoltageOpenLoopRampPeriod | Parameter to modify |
- Returns
- Itself
◆ DutyCycleOpenLoopRampPeriod
double ctre::phoenix6::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
◆ TorqueOpenLoopRampPeriod
double ctre::phoenix6::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
◆ VoltageOpenLoopRampPeriod
double ctre::phoenix6::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
The documentation for this class was generated from the following file: