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

@@ -162,7 +162,7 @@ public class ExpansionHubMotor implements AutoCloseable {
}
/**
* Sets the voltage to run the motor at. This value will be continously scaled to match the input
* 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

@@ -96,7 +96,7 @@ public class ExpansionHubPidConstants {
+ motorNumber
+ "/pid/"
+ pidType
+ "/continousMaximum")
+ "/continuousMaximum")
.publish(options);
}
@@ -147,7 +147,7 @@ public class ExpansionHubPidConstants {
m_continuousPublisher.set(true);
}
/** Disable continous input mode. */
/** Disable continuous input mode. */
public void disableContinuousInput() {
m_continuousPublisher.set(false);
}

View File

@@ -22,7 +22,7 @@ public class ExpansionHubServo implements AutoCloseable {
private final int m_channel;
private boolean m_reversed;
private boolean m_continousMode;
private boolean m_continuousMode;
private final IntegerPublisher m_pulseWidthPublisher;
private final IntegerPublisher m_framePeriodPublisher;
@@ -92,7 +92,7 @@ public class ExpansionHubServo implements AutoCloseable {
* @param value Position from 0.0 to 1.0 (-1 to 1 in CR mode).
*/
public void set(double value) {
if (m_continousMode) {
if (m_continuousMode) {
value = Math.clamp(value, -1.0, 1.0);
value = (value + 1.0) / 2.0;
}
@@ -223,8 +223,8 @@ public class ExpansionHubServo implements AutoCloseable {
*
* @param enable True to enable continuous rotation mode, false to disable
*/
public void setContinousRotationMode(boolean enable) {
m_continousMode = enable;
public void setContinuousRotationMode(boolean enable) {
m_continuousMode = enable;
}
/** Closes a servo so another instance can be constructed. */

View File

@@ -148,7 +148,7 @@ public abstract class PWMMotorController extends MotorSafety
* @param maxPwm maximum
* @param deadbandMaxPwm deadband max
* @param centerPwm center
* @param deadbandMinPwm deadmand min
* @param deadbandMinPwm deadband min
* @param minPwm minimum
*/
protected final void setBoundsMicroseconds(