Fix various typos (#8769)

This commit is contained in:
Gold856
2026-04-14 00:51:36 -04:00
committed by GitHub
parent 613c86d1d7
commit f96ded6909
31 changed files with 63 additions and 63 deletions

View File

@@ -37,8 +37,8 @@ class ExpansionHubMotor {
void SetThrottle(double throttle);
/**
* Sets the voltage to run the motor at. This value will be continously scaled
* to match the input voltage.
* Sets the voltage to run the motor at. This value will be continuously
* scaled to match the input voltage.
*
* @param voltage The voltage to drive the motor at
*/

View File

@@ -49,12 +49,12 @@ class ExpansionHubPidConstants {
* @param minimumInput The minimum value expected from the input.
* @param maximumInput The maximum value expected from the input.
*/
void EnableContinousInput(double minimumInput, double maximumInput);
void EnableContinuousInput(double minimumInput, double maximumInput);
/**
* Disables continuous input.
*/
void DisableContinousInput();
void DisableContinuousInput();
ExpansionHubPidConstants(ExpansionHubPidConstants&) = delete;
ExpansionHubPidConstants& operator=(ExpansionHubPidConstants&) = delete;

View File

@@ -116,7 +116,7 @@ class ExpansionHubServo {
*
* @param enable True to enable continuous rotation mode, false to disable
*/
void SetContinousRotationMode(bool enable);
void SetContinuousRotationMode(bool enable);
private:
wpi::units::microsecond_t GetFullRangeScaleFactor();
@@ -132,7 +132,7 @@ class ExpansionHubServo {
wpi::units::microsecond_t m_maxPwm = 2400_us;
bool m_reversed = false;
bool m_continousMode = false;
bool m_continuousMode = false;
wpi::nt::IntegerPublisher m_pulseWidthPublisher;
wpi::nt::IntegerPublisher m_framePeriodPublisher;