A real-time optimal energy-saving walking pattern generator based on gradient descent method and linear quadratic control. (19th May 2019)