Trajectory optimization of autonomous driving by differential dynamic programming
3D walking based on online optimization