High-slope terrain locomotion for torque-controlled quadruped robots