This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[SensorLib] compdcm_mpu9150

I'm studying the example at for the Boostxl-senshub

Why do the first time when DCM filter has to be started gyro data are loaded unchanged

line 562: CompDCMGyroUpdate(&g_sCompDCMInst, pfGyro[0], pfGyro[1], pfGyro[2]);

while subsequent iteration change the sign of the value...

line 575: CompDCMGyroUpdate(&g_sCompDCMInst, -pfGyro[0], -pfGyro[1], -pfGyro[2]);

Do anyone knows why ?