From 49d0cf7cfcb4dbb3b1781800a5dc5962613ab0cb Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 23 Aug 2023 10:07:16 -0700 Subject: [PATCH] Fix typo --- .../first/math/controller/LTVDifferentialDriveController.java | 2 +- .../include/frc/controller/LTVDifferentialDriveController.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wpimath/src/main/java/edu/wpi/first/math/controller/LTVDifferentialDriveController.java b/wpimath/src/main/java/edu/wpi/first/math/controller/LTVDifferentialDriveController.java index 2586ff62b14..2be2a478ec0 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/controller/LTVDifferentialDriveController.java +++ b/wpimath/src/main/java/edu/wpi/first/math/controller/LTVDifferentialDriveController.java @@ -22,7 +22,7 @@ /** * The linear time-varying differential drive controller has a similar form to the LQR, but the - * model used to compute the controller gain is the nonlinear differnetial drive model linearized + * model used to compute the controller gain is the nonlinear differential drive model linearized * around the drivetrain's current state. We precompute gains for important places in our * state-space, then interpolate between them with a lookup table to save computational resources. * diff --git a/wpimath/src/main/native/include/frc/controller/LTVDifferentialDriveController.h b/wpimath/src/main/native/include/frc/controller/LTVDifferentialDriveController.h index ef4e681b5cc..94f3fa37b7d 100644 --- a/wpimath/src/main/native/include/frc/controller/LTVDifferentialDriveController.h +++ b/wpimath/src/main/native/include/frc/controller/LTVDifferentialDriveController.h @@ -23,7 +23,7 @@ namespace frc { /** * The linear time-varying differential drive controller has a similar form to * the LQR, but the model used to compute the controller gain is the nonlinear - * differnetial drive model linearized around the drivetrain's current state. We + * differential drive model linearized around the drivetrain's current state. We * precompute gains for important places in our state-space, then interpolate * between them with a lookup table to save computational resources. *