[wpilib] Use misspell to fix spelling errors (NFC) (#2674)

This commit is contained in:
sciencewhiz
2020-08-31 00:33:11 -07:00
committed by GitHub
parent ad6c8b882e
commit 3e41d92c18
64 changed files with 119 additions and 117 deletions

View File

@@ -24,7 +24,7 @@ namespace frc {
* individual wheel speeds) uses the relative locations of the wheels with
* respect to the center of rotation. The center of rotation for inverse
* kinematics is also variable. This means that you can set your set your center
* of rotation in a corner of the robot to perform special evasion manuevers.
* of rotation in a corner of the robot to perform special evasion maneuvers.
*
* Forward kinematics (converting an array of wheel speeds into the overall
* chassis motion) is performs the exact opposite of what inverse kinematics
@@ -78,7 +78,7 @@ class MecanumDriveKinematics {
* operations, the center of rotation is usually the same as the physical
* center of the robot; therefore, the argument is defaulted to that use case.
* However, if you wish to change the center of rotation for evasive
* manuevers, vision alignment, or for any other use case, you can do so.
* maneuvers, vision alignment, or for any other use case, you can do so.
*
* @param chassisSpeeds The desired chassis speed.
* @param centerOfRotation The center of rotation. For example, if you set the

View File

@@ -28,7 +28,7 @@ namespace frc {
* individual module states) uses the relative locations of the modules with
* respect to the center of rotation. The center of rotation for inverse
* kinematics is also variable. This means that you can set your set your center
* of rotation in a corner of the robot to perform special evasion manuevers.
* of rotation in a corner of the robot to perform special evasion maneuvers.
*
* Forward kinematics (converting an array of module states into the overall
* chassis motion) is performs the exact opposite of what inverse kinematics
@@ -48,7 +48,7 @@ class SwerveDriveKinematics {
/**
* Constructs a swerve drive kinematics object. This takes in a variable
* number of wheel locations as Translation2ds. The order in which you pass in
* the wheel locations is the same order that you will recieve the module
* the wheel locations is the same order that you will receive the module
* states when performing inverse kinematics. It is also expected that you
* pass in the module states in the same order when calling the forward
* kinematics methods.
@@ -87,7 +87,7 @@ class SwerveDriveKinematics {
* operations, the center of rotation is usually the same as the physical
* center of the robot; therefore, the argument is defaulted to that use case.
* However, if you wish to change the center of rotation for evasive
* manuevers, vision alignment, or for any other use case, you can do so.
* maneuvers, vision alignment, or for any other use case, you can do so.
*
* @param chassisSpeeds The desired chassis speed.
* @param centerOfRotation The center of rotation. For example, if you set the

View File

@@ -52,7 +52,7 @@ T RungeKutta(F&& f, T x, U u, units::second_t dt) {
*
* @param f The function to integrate. It must take two arguments x and t.
* @param x The initial value of x.
* @param t The intial value of t.
* @param t The initial value of t.
* @param dt The time over which to integrate.
*/
template <typename F, typename T>