Tension control of cable-driven parallel robots