Hi, I am trying to use the BMX055 as a compass, but am having some issues. I am reading the X,Y and Z axis information but I was expecting with the device flat, I would get '0' on 2 axis and then the other axis value changes when moved. What I am getting is angles on all axis and just by rotating the devices I get X and Y both changing. In the data sheet it refers to an API, but I can only find code for displaying the raw data which I already have working. I would be grateful if you can send me any application notes to help me solve this problem.
BSXLite library is in binary format. The algorithms of how the raw data is manipulated to get the true heading are inside the library. Sorry that we cannot disclose the source code. Please refer to the white paper at https://www.edn.com/sensor-data-fusion-enhancing-gaming-navigation-and-vr-experiences/ for more information about the theory behind.