|
CTRE Phoenix 6 C++ 23.10.0-alpha-8
|
Configs to control the maximum and minimum applied torque when using Torque Current control types. 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 | PeakForwardTorqueCurrent = 800 |
| Maximum (forward) output during torque current based control modes. More... | |
| double | PeakReverseTorqueCurrent = -800 |
| Minimum (reverse) output during torque current based control modes. More... | |
| double | TorqueNeutralDeadband = 0.0 |
| Configures the output deadband during torque current based control modes. More... | |
Configs to control the maximum and minimum applied torque when using Torque Current control types.
Similar to peak output, but for the TorqueCurrentFOC control type requests.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
| double ctre::phoenix6::configs::TorqueCurrentConfigs::PeakForwardTorqueCurrent = 800 |
Maximum (forward) output during torque current based control modes.
Minimum Value: -800 Maximum Value: 800 Default Value: 800 Units: A
| double ctre::phoenix6::configs::TorqueCurrentConfigs::PeakReverseTorqueCurrent = -800 |
Minimum (reverse) output during torque current based control modes.
Minimum Value: -800 Maximum Value: 800 Default Value: -800 Units: A
| double ctre::phoenix6::configs::TorqueCurrentConfigs::TorqueNeutralDeadband = 0.0 |
Configures the output deadband during torque current based control modes.
Minimum Value: 0 Maximum Value: 25 Default Value: 0.0 Units: A