Stumble-proof robot adapts to challenging terrain in real ti