fixed some spelling errors
Change-Id: I8ff8c3528299fb1a3697a08c7ca094b28fd4f2cb
Signed-off-by: Ethan Wing <ethanw@frc971.971spartans.local>
diff --git a/frc971/control_loops/drivetrain/distance_spline.cc b/frc971/control_loops/drivetrain/distance_spline.cc
index 5c05fe4..ab38980 100644
--- a/frc971/control_loops/drivetrain/distance_spline.cc
+++ b/frc971/control_loops/drivetrain/distance_spline.cc
@@ -15,7 +15,7 @@
if (splines_.size() > 1) {
// We've got a multispline to follow!
- // Confirm that the ends line up to the correct number of derivitives.
+ // Confirm that the ends line up to the correct number of derivatives.
for (size_t i = 1; i < splines_.size(); ++i) {
const Spline &spline0 = splines_[i - 1];
const Spline &spline1 = splines_[i];
@@ -36,7 +36,7 @@
if (!dend0.isApprox(dstart1, 1e-6)) {
AOS_LOG(
ERROR,
- "Splines %d and %d don't line up in the first derivitive. [%f, "
+ "Splines %d and %d don't line up in the first derivative. [%f, "
"%f] != [%f, %f]\n",
static_cast<int>(i - 1), static_cast<int>(i), dend0(0, 0),
dend0(1, 0), dstart1(0, 0), dstart1(1, 0));
@@ -48,7 +48,7 @@
if (!ddend0.isApprox(ddstart1, 1e-6)) {
AOS_LOG(
ERROR,
- "Splines %d and %d don't line up in the second derivitive. [%f, "
+ "Splines %d and %d don't line up in the second derivative. [%f, "
"%f] != [%f, %f]\n",
static_cast<int>(i - 1), static_cast<int>(i), ddend0(0, 0),
ddend0(1, 0), ddstart1(0, 0), ddstart1(1, 0));