Hey everybody,
the title of the thread may sound a little confusing so let me explain what I would like to obtain.
I have made a custom board with an MPU6050 connected to an ATmega32u4 microcontroller and I am able to communicate without problem.
The thing is that the MPU assumes that the "0" position (or resting position) is with the board (and the chip) laying on a flat surface and consequently, the yaw/pitch/roll data are computed starting from this position.
For my project, I need to change the ZERO position to the one with the board standing 90 degrees instead of laying on the surface and so, have the yaw/pitch/roll data reflecting this new position.
How can I achieve this?
Thanks in advance for any tips!!
Davide