A new approach to solve the kinematics resolution of a redundant robot