Gait and Path Planning of Climbing Robots