TrapezoidProfile

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(constraints: TrapezoidProfile.Constraints, 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.