mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[docs] Fix wpilibj JavaDoc warnings (#6154)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user