Skip to content

Commit

Permalink
TrapezoidProfile: Make units public
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Feb 5, 2020
1 parent 29c8252 commit c18ebfa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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. */
Expand Down Expand Up @@ -43,6 +43,7 @@ namespace frc {
*/
template <class Distance>
class TrapezoidProfile {
public:
using Distance_t = units::unit_t<Distance>;
using Velocity =
units::compound_unit<Distance, units::inverse<units::seconds>>;
Expand All @@ -51,7 +52,6 @@ class TrapezoidProfile {
units::compound_unit<Velocity, units::inverse<units::seconds>>;
using Acceleration_t = units::unit_t<Acceleration>;

public:
class Constraints {
public:
Constraints() {
Expand Down

0 comments on commit c18ebfa

Please sign in to comment.