mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Fix typos with cspell (#6972)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user