generate
fun generate(params: ProfileParams, path: PosePath, beginVel: Double, velConstraint: VelConstraint, accelConstraint: AccelConstraint): TimeProfile
Creates an optimal time profile using forward and backward passes. This is the main entry point for generating time-optimal profiles.
Return
TimeProfile optimized for the given path and constraints
Parameters
params
Profile generation parameters
path
The path to follow
begin Vel
Beginning and ending velocity (must be the same to guarantee feasibility)
vel Constraint
Velocity constraint function
accel Constraint
Acceleration constraint function