diff --git a/wpilibc/src/main/native/include/frc/trajectory/TrapezoidProfile.h b/wpilibc/src/main/native/include/frc/trajectory/TrapezoidProfile.h index 575088eb35..3d57682773 100644 --- a/wpilibc/src/main/native/include/frc/trajectory/TrapezoidProfile.h +++ b/wpilibc/src/main/native/include/frc/trajectory/TrapezoidProfile.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -43,6 +43,7 @@ namespace frc { */ template class TrapezoidProfile { + public: using Distance_t = units::unit_t; using Velocity = units::compound_unit>; @@ -51,7 +52,6 @@ class TrapezoidProfile { units::compound_unit>; using Acceleration_t = units::unit_t; - public: class Constraints { public: Constraints() {