Hi
Does anyone have any exp with the MPU6050?
I'm having problems getting the Z-axis on the gyro to behave.
I get good readings and have managed to get a repeatable stable reading on startup.
If I rotate the IMU slowly I get resonable accurate results. My problems start if I move the IMU quickly or with jerky movements. This throws my reaults out.
To get a value I apply the following:
Yaw = yaw + ((gz * dt/1000000) + mod)
Where :
Mod = value to account for start up reading error. Currently 0.84.
dt = change in time uS
gz = gyro z axis output ( this has been averaged over 2 readings) i.e (gz1 + gz2) /2 = gz
Thabks
Danny