From e2dcbd016dfab2db08d3a35823a0bacc53d6c40c Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Sun, 9 Jun 2024 01:05:17 -0400 Subject: [PATCH] [wpimath] Remove deprecated TrapezoidProfile method in C++ header (#6721) --- .../include/frc/trajectory/TrapezoidProfile.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/wpimath/src/main/native/include/frc/trajectory/TrapezoidProfile.h b/wpimath/src/main/native/include/frc/trajectory/TrapezoidProfile.h index 90c5cd973f..0f4c65ec88 100644 --- a/wpimath/src/main/native/include/frc/trajectory/TrapezoidProfile.h +++ b/wpimath/src/main/native/include/frc/trajectory/TrapezoidProfile.h @@ -107,22 +107,6 @@ class TrapezoidProfile { TrapezoidProfile(TrapezoidProfile&&) = default; TrapezoidProfile& operator=(TrapezoidProfile&&) = default; - /** - * Calculates the position and velocity for the profile at a time t where the - * current state is at time t = 0. - * - * @param t How long to advance from the current state toward the desired - * state. - * @return The position and velocity of the profile at time t. - * @deprecated Pass the desired and current state into calculate instead of - * constructing a new TrapezoidProfile with the desired and current state - */ - [[deprecated( - "Pass the desired and current state into calculate instead of " - "constructing a new TrapezoidProfile with the desired and current " - "state")]] - State Calculate(units::second_t t) const; - /** * Calculates the position and velocity for the profile at a time t where the * current state is at time t = 0.