11#include <wpi/units/angle.hpp>
signals::GainSchedKpBehaviorValue GainSchedKpBehavior
The behavior of kP output as the error crosses the GainSchedErrorThreshold during gain scheduling.
Definition ClosedLoopGeneralConfigs.hpp:82
bool ContinuousWrap
Wrap position error within [-0.5, +0.5) mechanism rotations.
Definition ClosedLoopGeneralConfigs.hpp:40
std::string Serialize() const final
wpi::units::turn_t GainSchedErrorThreshold
The position closed-loop error threshold for gain scheduling.
Definition ClosedLoopGeneralConfigs.hpp:73
constexpr ClosedLoopGeneralConfigs & WithContinuousWrap(bool newContinuousWrap)
Modifies this configuration's ContinuousWrap parameter and returns itself for method-chaining and eas...
Definition ClosedLoopGeneralConfigs.hpp:102
constexpr ClosedLoopGeneralConfigs & WithDifferentialContinuousWrap(bool newDifferentialContinuousWrap)
Modifies this configuration's DifferentialContinuousWrap parameter and returns itself for method-chai...
Definition ClosedLoopGeneralConfigs.hpp:126
std::string ToString() const override
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
bool DifferentialContinuousWrap
Wrap differential difference position error within [-0.5, +0.5) mechanism rotations.
Definition ClosedLoopGeneralConfigs.hpp:53
constexpr ClosedLoopGeneralConfigs & WithGainSchedKpBehavior(signals::GainSchedKpBehaviorValue newGainSchedKpBehavior)
Modifies this configuration's GainSchedKpBehavior parameter and returns itself for method-chaining an...
Definition ClosedLoopGeneralConfigs.hpp:176
constexpr ClosedLoopGeneralConfigs()=default
constexpr ClosedLoopGeneralConfigs & WithGainSchedErrorThreshold(wpi::units::turn_t newGainSchedErrorThreshold)
Modifies this configuration's GainSchedErrorThreshold parameter and returns itself for method-chainin...
Definition ClosedLoopGeneralConfigs.hpp:156
Definition Configuration.hpp:17
Definition ExternalFeedbackConfigs.hpp:21
Definition ExternalFeedbackConfigs.hpp:16
Definition FrcUsageReport.hpp:12
Definition motor_constants.h:14
The behavior of kP output as the error crosses the GainSchedErrorThreshold during gain scheduling.
Definition SpnEnums.hpp:4995
static constexpr int Continuous
The gain scheduler will maintain continuity in the kP output as the error crosses the gain threshold.
Definition SpnEnums.hpp:5004