generate Backward Profile
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
max Vels
Maximum velocities at each displacement (all positive)
end Vel
Ending velocity (non-negative)
min Accels
Minimum accelerations at each displacement (all negative)