[wpimath] Update TrapezoidProfile class name in comment (NFC) (#4107)

This commit is contained in:
Tyler Veness
2022-03-19 20:41:53 -07:00
committed by GitHub
parent 95ae23b0e7
commit 89ffcbbe41

View File

@@ -19,14 +19,14 @@ namespace frc {
*
* Initialization:
* @code{.cpp}
* TrapezoidalMotionProfile::Constraints constraints{kMaxV, kMaxA};
* TrapezoidProfile::Constraints constraints{kMaxV, kMaxA};
* double previousProfiledReference = initialReference;
* @endcode
*
* Run on update:
* @code{.cpp}
* TrapezoidalMotionProfile profile{constraints, unprofiledReference,
* previousProfiledReference};
* TrapezoidProfile profile{constraints, unprofiledReference,
* previousProfiledReference};
* previousProfiledReference = profile.Calculate(timeSincePreviousUpdate);
* @endcode
*