Robotic X-Ray Diffraction Apparatus For Residual Stress Analysis