A FREE GAIT PLANNING METHOD BASED ON THE FOOTHOLD SEARCH STRATEGY FOR QUADRUPED ROBOT