Rest-to-rest trajectory planning for planar underactuated cable-driven parallel robots