Converting desired end-effector positions and orientations into required joint angles for a robot arm.