Snake Robot: An Endogenous Configuration Space Approach -- A Novel Stair-Climbing