Multi-legged multi-roped walking and climbing robots: online static equilibrium analysis