mikeshub / Pololu_Open_IMU

24 stars 19 forks source link

0.5 degrees of drift per second on all 3 axes, regardless of orientation or calibration #8

Open moeburn opened 7 years ago

moeburn commented 7 years ago

I'm using the MiniIMU v3 with your code, it was working great for a while, but now suddenly all 3 axes are drifting at about 0.5 degrees per second, regardless of what orientation I hold the device in (suggesting it's not a mag calibration problem), and regardless of what values I enter in the mag calibration section (also suggesting it's not a mag calibration problem).

I have tried running the mag for cal code, copying the output into a text file, and entering that text file, along with my magnetic norm at my location, into the magneto program linked in the code. The 0's stayed close to 0, the 1's changed to around 0.15, and the offsets were between 20,000 and 50,000. This had absolutely no effect on the drift from the original 0's and 1's in the calibration section - still getting about 0.5 degrees of drift per second on all 3 axes.

I've tried different USB cables, I've tried different rooms of my house, I've tried different computers, but I'm always getting about 0.5 degrees of drift on all 3 axes.