Discrete trajectory control algorithms for NIMS3D, an autonomous underconstrained three-dimensional cabled robot