The rotation vector is using a fixed frame of reference. In IMU mode, the reference angle is the orientation when the device was turned on. In NDOF and compass modes, the reference angle is the orientation when the device was turned on at first, then there is a single discontinuity in the signal when magnetic North is found. The rotation vector is then the angle between the sensor and magnetic North. o_O
... View more