mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Fix typos with cspell (#6972)
This commit is contained in:
@@ -171,7 +171,7 @@ TEST(DifferentialDriveAccelerationLimiterTest, HighLimits) {
|
||||
}
|
||||
}
|
||||
|
||||
TEST(DifferentialDriveAccelerationLimiterTest, SeperateMinMaxLowLimits) {
|
||||
TEST(DifferentialDriveAccelerationLimiterTest, SeparateMinMaxLowLimits) {
|
||||
constexpr auto trackwidth = 0.9_m;
|
||||
constexpr auto dt = 5_ms;
|
||||
constexpr auto minA = -1_mps_sq;
|
||||
|
||||
@@ -212,7 +212,7 @@ TEST(DifferentialDrivePoseEstimatorTest, BadInitialPose) {
|
||||
}
|
||||
|
||||
TEST(DifferentialDrivePoseEstimatorTest, SimultaneousVisionMeasurements) {
|
||||
// This tests for multiple vision measurements appled at the same time.
|
||||
// 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
|
||||
|
||||
@@ -211,7 +211,7 @@ TEST(MecanumDrivePoseEstimatorTest, BadInitialPose) {
|
||||
}
|
||||
|
||||
TEST(MecanumDrivePoseEstimatorTest, SimultaneousVisionMeasurements) {
|
||||
// This tests for multiple vision measurements appled at the same time.
|
||||
// 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
|
||||
|
||||
@@ -220,7 +220,7 @@ TEST(SwerveDrivePoseEstimatorTest, BadInitialPose) {
|
||||
}
|
||||
|
||||
TEST(SwerveDrivePoseEstimatorTest, SimultaneousVisionMeasurements) {
|
||||
// This tests for multiple vision measurements appled at the same time.
|
||||
// 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
|
||||
|
||||
@@ -39,7 +39,7 @@ TEST_F(SlewRateLimiterTest, SlewRateNoLimit) {
|
||||
EXPECT_EQ(limiter.Calculate(0.5_m), 0.5_m);
|
||||
}
|
||||
|
||||
TEST_F(SlewRateLimiterTest, SlewRatePositveNegativeLimit) {
|
||||
TEST_F(SlewRateLimiterTest, SlewRatePositiveNegativeLimit) {
|
||||
frc::SlewRateLimiter<units::meters> limiter(1_mps, -0.5_mps);
|
||||
|
||||
now += 1_s;
|
||||
|
||||
@@ -65,7 +65,7 @@ TEST(ExponentialProfileTest, ReachesGoal) {
|
||||
|
||||
// Tests that decreasing the maximum velocity in the middle when it is already
|
||||
// moving faster than the new max is handled correctly
|
||||
TEST(ExponentialProfileTest, PosContinousUnderVelChange) {
|
||||
TEST(ExponentialProfileTest, PosContinuousUnderVelChange) {
|
||||
frc::ExponentialProfile<units::meter, units::volts>::Constraints constraints{
|
||||
12_V, -kV / kA, 1 / kA};
|
||||
frc::ExponentialProfile<units::meter, units::volts> profile{constraints};
|
||||
@@ -88,7 +88,7 @@ TEST(ExponentialProfileTest, PosContinousUnderVelChange) {
|
||||
|
||||
// Tests that decreasing the maximum velocity in the middle when it is already
|
||||
// moving faster than the new max is handled correctly
|
||||
TEST(ExponentialProfileTest, PosContinousUnderVelChangeBackward) {
|
||||
TEST(ExponentialProfileTest, PosContinuousUnderVelChangeBackward) {
|
||||
frc::ExponentialProfile<units::meter, units::volts>::Constraints constraints{
|
||||
12_V, -kV / kA, 1 / kA};
|
||||
frc::ExponentialProfile<units::meter, units::volts> profile{constraints};
|
||||
|
||||
@@ -41,7 +41,7 @@ TEST(TrapezoidProfileTest, ReachesGoal) {
|
||||
|
||||
// Tests that decreasing the maximum velocity in the middle when it is already
|
||||
// moving faster than the new max is handled correctly
|
||||
TEST(TrapezoidProfileTest, PosContinousUnderVelChange) {
|
||||
TEST(TrapezoidProfileTest, PosContinuousUnderVelChange) {
|
||||
frc::TrapezoidProfile<units::meter>::Constraints constraints{1.75_mps,
|
||||
0.75_mps_sq};
|
||||
frc::TrapezoidProfile<units::meter>::State goal{12_m, 0_mps};
|
||||
|
||||
Reference in New Issue
Block a user