Dynamic Trotting on Slopes for Quadrupedal Robots.