mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Fix various typos (#8769)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user