Skip to content

Commit

Permalink
Fix typos (NFC) (wpilibsuite#5804)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Oct 23, 2023
1 parent ec0f7fe commit f4cbcbc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hal/src/main/native/include/hal/PWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void HAL_SetPWMPeriodScale(HAL_DigitalHandle pwmPortHandle, int32_t squelchMask,
int32_t* status);

/**
* Sets the PWM output to be a continous high signal while enabled.
* Sets the PWM output to be a continuous high signal while enabled.
*
* @param[in] pwmPortHandle the PWM handle.
* @param[out] status Error status variable. 0 on success.
Expand Down
2 changes: 1 addition & 1 deletion simulation/halsim_xrp/src/main/native/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ __declspec(dllexport)
return -1;
}

std::puts("HALSim XRP Extention Initialized");
std::puts("HALSim XRP Extension Initialized");
return 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

namespace sysid {
/**
* This class is reponsible for collecting data from the robot and storing it
* This class is responsible for collecting data from the robot and storing it
* inside a JSON.
*/
class TelemetryManager {
Expand Down
2 changes: 1 addition & 1 deletion wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public void setZeroLatch() {
PWMJNI.latchPWMZero(m_handle);
}

/** Sets the PWM output to be a continous high signal while enabled. */
/** Sets the PWM output to be a continuous high signal while enabled. */
public void setAlwaysHighMode() {
PWMJNI.setAlwaysHighMode(m_handle);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ChassisSpeeds(
/**
* Discretizes a continuous-time chassis speed.
*
* <p>This function converts a continous-time chassis speed into a discrete-time one such that
* <p>This function converts a continuous-time chassis speed into a discrete-time one such that
* when the discrete-time chassis speed is applied for one timestep, the robot moves as if the
* velocity components are independent (i.e., the robot moves v_x * dt along the x-axis, v_y * dt
* along the y-axis, and omega * dt around the z-axis).
Expand Down Expand Up @@ -78,7 +78,7 @@ public static ChassisSpeeds discretize(
/**
* Discretizes a continuous-time chassis speed.
*
* <p>This function converts a continous-time chassis speed into a discrete-time one such that
* <p>This function converts a continuous-time chassis speed into a discrete-time one such that
* when the discrete-time chassis speed is applied for one timestep, the robot moves as if the
* velocity components are independent (i.e., the robot moves v_x * dt along the x-axis, v_y * dt
* along the y-axis, and omega * dt around the z-axis).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct WPILIB_DLLEXPORT ChassisSpeeds {
/**
* Disretizes a continuous-time chassis speed.
*
* This function converts a continous-time chassis speed into a discrete-time
* This function converts a continuous-time chassis speed into a discrete-time
* one such that when the discrete-time chassis speed is applied for one
* timestep, the robot moves as if the velocity components are independent
* (i.e., the robot moves v_x * dt along the x-axis, v_y * dt along the
Expand Down Expand Up @@ -69,7 +69,7 @@ struct WPILIB_DLLEXPORT ChassisSpeeds {
/**
* Disretizes a continuous-time chassis speed.
*
* This function converts a continous-time chassis speed into a discrete-time
* This function converts a continuous-time chassis speed into a discrete-time
* one such that when the discrete-time chassis speed is applied for one
* timestep, the robot moves as if the velocity components are independent
* (i.e., the robot moves v_x * dt along the x-axis, v_y * dt along the
Expand Down

0 comments on commit f4cbcbc

Please sign in to comment.