You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the mpu6050_DMP_V6.12 example to retrieve the yaw, pitch and roll angles using 'OUTPUT_READABLE_YAWPITCHROLL'.
The results are very responsive until I attempt to set the offsets or call the CalibrateAccel() / CalibrateGyro() functions provided.
After setting offsets, the readings become somewhat erratic (it almost seems that the different axes are interfering with each other) and there is a noticeable lag when settling.
I have also noticed that calling PrintActiveOffsets() prints out just the set x values for x, y & z, e.g.
Acc. X = 1000, Y = 1000, Z = 1000
Gyro. X = 10, Y = 10, Z = 10
I have checked using all of the get#AccelOffset() and get#GyroOffset() functions and it seems like the correct values are being set, but PrintActiveOffsets is somehow reading the x value 3 times. I'm not sure if this in relation to the first issue but I thought it may help in diagnosis.
Thanks in advance,
Max
The text was updated successfully, but these errors were encountered:
The Calibration uses a PID (minus the D) loop to land the calibration. setting the offset instantly has an effect on the next reading. When the MPU6050 is level and stable the calibration samples the sensors and shifts the offsets to get Zeros on 5 of the 6 axis and adjusts Accell Z to show 1g.
your issue with not calibrating is unusual and your results:
Acc. X = 1000, Y = 1000, Z = 1000
Gyro. X = 10, Y = 10, Z = 10
for offsets are not normal after calibration.
I have not used this on a raspberry pi pico yet, so I'm not sure of the resulting changes to make this work. I am interested in seeing what you discover and your final results.
Thank you
Z
Hello,
I am using the mpu6050_DMP_V6.12 example to retrieve the yaw, pitch and roll angles using 'OUTPUT_READABLE_YAWPITCHROLL'.
The results are very responsive until I attempt to set the offsets or call the CalibrateAccel() / CalibrateGyro() functions provided.
After setting offsets, the readings become somewhat erratic (it almost seems that the different axes are interfering with each other) and there is a noticeable lag when settling.
I have also noticed that calling PrintActiveOffsets() prints out just the set x values for x, y & z, e.g.
Acc. X = 1000, Y = 1000, Z = 1000
Gyro. X = 10, Y = 10, Z = 10
I have checked using all of the get#AccelOffset() and get#GyroOffset() functions and it seems like the correct values are being set, but PrintActiveOffsets is somehow reading the x value 3 times. I'm not sure if this in relation to the first issue but I thought it may help in diagnosis.
Thanks in advance,
Max
The text was updated successfully, but these errors were encountered: