F1 and F2 denote the maximum tip displacement within 1 s after the positioning and the operating energy until the
positioning, respectively.
By tuning the coefficients an in Eq. (6) to simultaneously minimize the two objective functions in Eq. the optimal trajectory is obtainable.
The algorithm of the optimal trajectory generation is summarized below.