Hi ,
following your guide i’m trying to compensate a LSM9DS1 but without success.
I’m playing with plus and minus but dont work.
Can someone please clarifie how the axis of accelerometer and magnetometer have to be between them for working with the code proposed here?
I mean, i need to have Mag_X in same versus with AccXnorm, Mag_Y with AccYnorm and Mag_Z with AccZnorm?
Formula are quite simple so my problem is in the reference axis for sure, but can’t understand how to solve.
I’m using an LSM9DS1 and it have X axis(mag\acc) opposite, based on datasheet Y and Z seem align by default.
Thanks a lot,
BR