I am trying to make my robot detect a user frame and rotate about the Y-Axis in a certain number of degrees.
I am using PR to populate the value of the 5th position and apply these changes to the point in my tp program.
The problem I am facing is that if the frame is created at 45 degree from world it will rotate correctly. However, if the frame is created at 0 degrees, it rotates about the X-axis instead. when checking how the user frame looks, they both looks correct.
Any ideas please ?