niru-5/imusensor

About the default orientation

Opened this issue · 1 comments

Thanks for the great work.

I am a newbie with IMUs.

when I run the Basic Usage code, I get Orientation output like:

roll: 178.8470066832591 ; pitch : 0.10481996839275354 ; yaw : 123.34091836135526

My MPU9250 board is placed horizontally on the desktop, my question is, how do I reset these values to zeros
at the beginning or these values are based on the world coordinate system which will change only when the direction of the board changes ?

Thanks.

Hi,

I don't think I have included the functionality of resetting to zeros at an initial position. However, I do see that this could be useful in some applications. I will try to put this in the later version of the package.

Thanks,
Niru