2023-01-24 04:42 AM
2023-01-24 06:25 AM
Hi @MGama.2 ,
the gyroscope output is in terms of angular rate, so in degree per second. For the angle calculation, i.e. to get the degrees, you need to integrate the output data in time. The integration has do be performed carefully (knowing the time 0 position, calibrating the device before the calculation, etc), since the risk is to sum up the noise and to get wrong results.
As example, see the MotionDI dynamic inclinometer library in X-CUBE-MEMS1 expansion for STM32Cube.
-Eleon