I have a magnetometer from where I get X, Y and Z which point to the direction of the detectable magnetic fields.
I\'m using these values to get the angle between X a