Redundancy Resolution of Cable-Driven Parallel Manipulators