Dynamics analysis of a 3-DOF parallel manipulator with R–P–S joint structure