Control of Motion Trajectory on Parallel Mechanisms