On Mechanics and Control of Six-Legged Walking Robot