mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Spelling and grammar cleanups (#4849)
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user