Force control of a six-legged walking machine