CTRE Phoenix Pro C++ 23.0.12
|
Voltage-specific configs. 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 | SupplyVoltageTimeConstant = 0 |
The time constant (in seconds) of the low-pass filter for the supply voltage. More... | |
double | PeakForwardVoltage = 16 |
Maximum (forward) output during voltage based control modes. More... | |
double | PeakReverseVoltage = -16 |
Minimum (reverse) output during voltage based control modes. More... | |
Voltage-specific configs.
Voltage-specific configs
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
|
inlinevirtual |
Implements ctre::phoenixpro::ISerializable.
|
inlinevirtual |
Implements ctre::phoenixpro::configs::ParentConfiguration.
double ctre::phoenixpro::configs::VoltageConfigs::PeakForwardVoltage = 16 |
Maximum (forward) output during voltage based control modes.
Minimum Value: -16 Maximum Value: 16 Default Value: 16 Units: V
double ctre::phoenixpro::configs::VoltageConfigs::PeakReverseVoltage = -16 |
Minimum (reverse) output during voltage based control modes.
Minimum Value: -16 Maximum Value: 16 Default Value: -16 Units: V
double ctre::phoenixpro::configs::VoltageConfigs::SupplyVoltageTimeConstant = 0 |
The time constant (in seconds) of the low-pass filter for the supply voltage.
This impacts the filtering for the reported supply voltage, and any control strategies that use the supply voltage (such as voltage control on a motor controller).
Minimum Value: 0.0 Maximum Value: 0.1 Default Value: 0 Units: sec