Sequential Hierarchical Least-Squares Programming for Prioritized Non-Linear Optimal Control