Perceptive autonomous stair climbing for quadrupedal robots