MPU6050_tockn icon indicating copy to clipboard operation
MPU6050_tockn copied to clipboard

The mpu6050 fast jitter Angle becomes smaller

Open MrXu-98 opened this issue 7 months ago • 0 comments

For example, 180 degrees will gradually change to 0 degrees and negative numbers, and will restore the Angle after stability 是这个时钟的问题吗 `gyroX -= gyroXoffset; gyroY -= gyroYoffset; gyroZ -= gyroZoffset;

interval = (millis() - preInterval) * 0.001; // interval = 0.0001;//次数受芯片时钟影响,将其设置成一个固定值

angleGyroX += gyroX * interval; angleGyroY += gyroY * interval; angleGyroZ += gyroZ * interval;`

MrXu-98 avatar Nov 23 '23 02:11 MrXu-98