diff --git a/wpimath/src/main/native/include/frc/controller/ElevatorFeedforward.h b/wpimath/src/main/native/include/frc/controller/ElevatorFeedforward.h index e07c26b21a..bbe7720686 100644 --- a/wpimath/src/main/native/include/frc/controller/ElevatorFeedforward.h +++ b/wpimath/src/main/native/include/frc/controller/ElevatorFeedforward.h @@ -6,6 +6,7 @@ #include +#include "units/length.h" #include "units/time.h" #include "units/voltage.h" @@ -14,9 +15,9 @@ namespace frc { * A helper class that computes feedforward outputs for a simple elevator * (modeled as a motor acting against the force of gravity). */ -template class ElevatorFeedforward { public: + using Distance = units::meters; using Velocity = units::compound_unit>; using Acceleration =