Fix typos with cspell (#6972)

This commit is contained in:
Gold856
2024-08-17 10:44:34 -04:00
committed by GitHub
parent 780b1e0391
commit b12b83aa89
83 changed files with 151 additions and 152 deletions

View File

@@ -90,13 +90,13 @@ class ArmFeedforwardTest {
}
@Test
void testAcheviableVelocity() {
void testAchievableVelocity() {
assertEquals(6, m_armFF.maxAchievableVelocity(12, Math.PI / 3, 1), 0.002);
assertEquals(-9, m_armFF.minAchievableVelocity(11.5, Math.PI / 3, 1), 0.002);
}
@Test
void testAcheviableAcceleration() {
void testAchievableAcceleration() {
assertEquals(4.75, m_armFF.maxAchievableAcceleration(12, Math.PI / 3, 1), 0.002);
assertEquals(6.75, m_armFF.maxAchievableAcceleration(12, Math.PI / 3, -1), 0.002);
assertEquals(-7.25, m_armFF.minAchievableAcceleration(12, Math.PI / 3, 1), 0.002);

View File

@@ -171,7 +171,7 @@ class DifferentialDriveAccelerationLimiterTest {
}
@Test
void testSeperateMinMaxLowLimits() {
void testSeparateMinMaxLowLimits() {
final double trackwidth = 0.9;
final double dt = 0.005;
final double minA = -1.0;

View File

@@ -43,13 +43,13 @@ class ElevatorFeedforwardTest {
}
@Test
void testAcheviableVelocity() {
void testAchievableVelocity() {
assertEquals(5, m_elevatorFF.maxAchievableVelocity(11, 1), 0.002);
assertEquals(-9, m_elevatorFF.minAchievableVelocity(11, 1), 0.002);
}
@Test
void testAcheviableAcceleration() {
void testAchievableAcceleration() {
assertEquals(3.75, m_elevatorFF.maxAchievableAcceleration(12, 2), 0.002);
assertEquals(7.25, m_elevatorFF.maxAchievableAcceleration(12, -2), 0.002);
assertEquals(-8.25, m_elevatorFF.minAchievableAcceleration(12, 2), 0.002);

View File

@@ -220,7 +220,7 @@ class DifferentialDrivePoseEstimatorTest {
@Test
void testSimultaneousVisionMeasurements() {
// This tests for multiple vision measurements appled at the same time. The expected behavior
// This tests for multiple vision measurements applied at the same time. The expected behavior
// is that all measurements affect the estimated pose. The alternative result is that only one
// vision measurement affects the outcome. If that were the case, after 1000 measurements, the
// estimated pose would converge to that measurement.

View File

@@ -229,7 +229,7 @@ class MecanumDrivePoseEstimatorTest {
@Test
void testSimultaneousVisionMeasurements() {
// This tests for multiple vision measurements appled at the same time. The expected behavior
// This tests for multiple vision measurements applied at the same time. The expected behavior
// is that all measurements affect the estimated pose. The alternative result is that only one
// vision measurement affects the outcome. If that were the case, after 1000 measurements, the
// estimated pose would converge to that measurement.

View File

@@ -245,7 +245,7 @@ class SwerveDrivePoseEstimatorTest {
@Test
void testSimultaneousVisionMeasurements() {
// This tests for multiple vision measurements appled at the same time. The expected behavior
// This tests for multiple vision measurements applied at the same time. The expected behavior
// is that all measurements affect the estimated pose. The alternative result is that only one
// vision measurement affects the outcome. If that were the case, after 1000 measurements, the
// estimated pose would converge to that measurement.

View File

@@ -20,7 +20,7 @@ class Twist2dTest {
}
@Test
void testQuarterCirle() {
void testQuarterCircle() {
var quarterCircle = new Twist2d(5.0 / 2.0 * Math.PI, 0, Math.PI / 2.0);
var quarterCirclePose = Pose2d.kZero.exp(quarterCircle);

View File

@@ -40,7 +40,7 @@ class Twist3dTest {
}
@Test
void testQuarterCirle() {
void testQuarterCircle() {
var zAxis = VecBuilder.fill(0.0, 0.0, 1.0);
var quarterCircle = new Twist3d(5.0 / 2.0 * Math.PI, 0.0, 0.0, 0.0, 0.0, Math.PI / 2.0);