I am trying to retrieve data orientation from Android, but I do not want to use the accelerometer because I think it could be not that accurate. I am thinking on using the gyroscope instead. What do you guys think?
Is there anything already done on this?
Does anybody know how to do it or Do you have any hint about that?
Basically I’d like to know where the phone is pointing taking into consideration the magnetic north.
Therefore I can get the angle.
I found this addons but it is just for iOS:
I found these JAVA implementation for a compass, but I do not know how to link openframeworks and JAVA code.