Fix typo in localizer.cc
Change-Id: I24e57363a6c7fae46eae495ebb3d20a4c4efb2ee
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2024/localizer/localizer.cc b/y2024/localizer/localizer.cc
index 30bb108..34c0bc7 100644
--- a/y2024/localizer/localizer.cc
+++ b/y2024/localizer/localizer.cc
@@ -195,7 +195,7 @@
const double theta = control.keep_current_theta()
? ekf_.X_hat(StateIdx::kTheta)
: control.theta();
- // Ecnoder values need to be reset based on the current values to ensure
+ // Encoder values need to be reset based on the current values to ensure
// that we don't get weird corrections on the next encoder update.
const double left_encoder = ekf_.X_hat(StateIdx::kLeftEncoder);
const double right_encoder = ekf_.X_hat(StateIdx::kRightEncoder);