generateBackwardProfile
fun generateBackwardProfile(disps: List<Double>, maxVels: List<Double>, endVel: Double, minAccels: List<Double>): DisplacementProfile
Generates a backward displacement profile by working backwards from the end. This is implemented by reversing the problem and using the forward algorithm.
Return
Backward displacement profile
Parameters
disps
Displacement interval endpoints
maxVels
Maximum velocities at each displacement (all positive)
endVel
Ending velocity (non-negative)
minAccels
Minimum accelerations at each displacement (all negative)