Mass-Constrained Robotic Climbing on Irregular Terrain