Spelling and grammar cleanups (#4849)

This commit is contained in:
Sriman Achanta
2022-12-26 14:32:13 -05:00
committed by GitHub
parent 176fddeb4c
commit 92149efa11
110 changed files with 317 additions and 319 deletions

View File

@@ -47,7 +47,7 @@ class MecanumDriveOdometryTest {
@Test
void testTwoIterations() {
// 5 units/sec in the x axis (forward)
// 5 units/sec in the x-axis (forward)
final var wheelPositions = new MecanumDriveWheelPositions(0.3536, 0.3536, 0.3536, 0.3536);
m_odometry.resetPosition(new Rotation2d(), new MecanumDriveWheelPositions(), new Pose2d());

View File

@@ -211,7 +211,7 @@ class SwerveDriveKinematicsTest {
the vx and vy of our chassis center. Because our COR is at a 45 degree angle from the center,
we know that vx and vy must be the same. Furthermore, we know that the center of mass makes
a full revolution about the center of revolution once every second. Therefore, the center of
mass must be moving at 106.629in/sec. Recalling that the ratios of a 45/45/90 triagle are
mass must be moving at 106.629in/sec. Recalling that the ratios of a 45/45/90 triangle are
1:√(2)/2:√(2)/2, we find that the COM vx is -75.398, and vy is 75.398.
*/
@@ -235,7 +235,7 @@ class SwerveDriveKinematicsTest {
the vx and vy of our chassis center. Because our COR is at a 45 degree angle from the center,
we know that vx and vy must be the same. Furthermore, we know that the center of mass makes
a full revolution about the center of revolution once every second. Therefore, the center of
mass must be moving at 106.629in/sec. Recalling that the ratios of a 45/45/90 triagle are
mass must be moving at 106.629in/sec. Recalling that the ratios of a 45/45/90 triangle are
1:√(2)/2:√(2)/2, we find that the COM vx is -75.398, and vy is 75.398.
*/

View File

@@ -33,7 +33,7 @@ class SwerveDriveOdometryTest {
@Test
void testTwoIterations() {
// 5 units/sec in the x axis (forward)
// 5 units/sec in the x-axis (forward)
final SwerveModulePosition[] wheelDeltas = {
new SwerveModulePosition(0.5, Rotation2d.fromDegrees(0)),
new SwerveModulePosition(0.5, Rotation2d.fromDegrees(0)),