mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] Remove deprecated TrapezoidProfile method in C++ header (#6721)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user