constantProfile

fun constantProfile(length: Double, beginEndVel: Double, maxVel: Double, minAccel: Double, maxAccel: Double): CancelableProfile

Computes an exact, time-optimal profile.

Parameters

beginEndVel

beginning and ending velocity (must be the same to guarantee feasibility)

maxVel

positive

minAccel

negative

maxAccel

positive