implements the trajectory generation for the velocity profiles

calculate a new end time for full synchronous movement