@
Hi,
I am also using the same FXOS chip for getting the eCompass heading.
did you solve your problem, i am also facing the same issue. I am getting RAW values from accelerometer x,y,z & magnetic x, y, z data. I am able to convert the rotation, pitch & roll.
But i need the eCompass 0 - 360 degree heading values. how to apply the formula using RAW values. I am not using any Gyro only accel & mag values are getting from the fxos chip.
did you got or have any reference c code for getting or calculating the 0, 90, 180, 270 & 360 angle calculation.
lets please share the magnetic.c and orientation.c files to understand the eCompass algorithm.
regards,
anil
@