labpano / pilot-open-api

Open API for Pilot cameras
MIT License
11 stars 3 forks source link

Magnectic compass #5

Open jaap-smd opened 3 years ago

jaap-smd commented 3 years ago

Hello, We are creating a custom app where we would like to use the magnetic compass reading from the internal sensor (Bosch Sensortec BMM150). We tried a simple example program like this: http://lesapplication.blogspot.com/2012/03/create-our-android-compass.html

The pitch and roll are working fine, but azimuth is always between 20 and 70 degrees. How can we read the azimuth correctly?