Trapezoid Profile
constructor(@NonNull constraints: TrapezoidProfile.Constraints, @NonNull goal: TrapezoidProfile.State, @NonNull 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).
constructor(@NonNull constraints: TrapezoidProfile.Constraints, @NonNull goal: TrapezoidProfile.State)
Construct a TrapezoidProfile.
Parameters
constraints
The constraints on the profile, like maximum velocity.
goal
The desired state when the profile is complete.