Trapezoid Profile
constructor(constraints: TrapezoidProfile.Constraints, goal: TrapezoidProfile.State, initial: TrapezoidProfile.State)
Construct a TrapezoidProfile.
Parameters
constraints
The constraints on the profile, like maximum velocity.
goal
The desired state when the profile is complete.
initial
The initial state (usually the current state).
Construct a TrapezoidProfile.
Parameters
constraints
The constraints on the profile, like maximum velocity.
goal
The desired state when the profile is complete.