An application of receding-horizon neural control in humanoid robotics