An online gait generator for quadruped walking using motor primitives. (18th November 2016)