[docs] Fix wpilibj JavaDoc warnings (#6154)

This commit is contained in:
Tyler Veness
2024-01-05 07:35:59 -08:00
committed by GitHub
parent 19cb2a8eb4
commit 106518c3f8
97 changed files with 1112 additions and 71 deletions

View File

@@ -77,14 +77,23 @@ class RobotDriveBase : public MotorSafety {
std::string GetDescription() const override = 0;
protected:
/// Default input deadband.
static constexpr double kDefaultDeadband = 0.02;
/// Default maximum output.
static constexpr double kDefaultMaxOutput = 1.0;
/**
* Renormalize all wheel speeds if the magnitude of any wheel is greater than
* 1.0.
*/
static void Desaturate(std::span<double> wheelSpeeds);
double m_deadband = 0.02;
double m_maxOutput = 1.0;
/// Input deadband.
double m_deadband = kDefaultDeadband;
/// Maximum output.
double m_maxOutput = kDefaultMaxOutput;
};
} // namespace frc