The compass alone is not sufficient at producing the correct angle. In order to get the correct angle, the compass needs to be transformed back to the XY plane. This can be done with an accelerometer and some vector algebra.
CompassTools is also accompanied by a test using ideal angles to prove the algorithm's integrity.
The compass alone is not sufficient at producing the correct angle. In order to get the correct angle, the compass needs to be transformed back to the XY plane. This can be done with an accelerometer and some vector algebra.
CompassTools is also accompanied by a test using ideal angles to prove the algorithm's integrity.