Motion analysis of a six-legged robot using Bennett's linkage as leg