An optimized discontinuous crawl gait for quadruped robot