TrapezoidProfile
A trapezoidal motion profile generator.
A trapezoidal motion profile is a velocity profile that accelerates at a constant rate, maintains a constant velocity, then decelerates at a constant rate. This creates a trapezoid shape when velocity is plotted over time.
The profile handles truncated motion profiles (with nonzero initial or final velocity) and profiles that never reach maximum velocity (triangular profiles).
Parameters
The TrapezoidProfileConstraints that define the maximum velocity and acceleration for the profile.
Properties
Functions
Calculates the state of the profile at a given timestamp.
Calculates the state of the profile at a given time.
Checks if the profile has finished at the given time.
Checks if the profile has finished at the given timestamp.
Calculates the time remaining until the profile reaches a target position.