The questions that relevant are about the accelerometer data, not gyroscope. I want to know whether I can transform the gyroscope data from device coordination system to world coordination system?
Someone suppose that we can use Euler Angle or quaternion, but they didn't give a good example about gyroscope. Can anyone help me? Thanks in advance.
Gyroscope along with accelerometer and magnetometer can give the world co-ordinate system correctly.
Gyroscope is generally used to calculate the relative angular changes rather than the absolute world direction.
I have worked on Indoor Positioning system using these. Please find the Indoor tracking application here : https://github.com/ramakanthd92/IndoorMagMap
A publication for the same can be found here http://ieeexplore.ieee.org/document/7106948/
Hope this helps