Hi luisrodenas,
it seems like I still have the "non converging" error.
I've downloaded the code today, so I assume I have the newest version.
Just what irritates me, is that my Outputs seem to be much higher, than rflmota's:
1074 2179 15557 -2636 -1035 -1034
...
-1232 -251 17762 2482 1012 1014
...
1072 -255 15555 -2636 -1035 -1034
...
-1230 -254 15555 2483 1012 1013
...
1074 -260 17768 -2637 -1037 -1035
Also, when I tried to play this simple sketch:
Serial.print(accelgyro.getXGyroOffset()); Serial.print("\t");
Serial.print(accelgyro.getYGyroOffset()); Serial.print("\t");
Serial.print(accelgyro.getZGyroOffset()); Serial.print("\t");
Serial.print("\n");
accelgyro.setXGyroOffset(0);
accelgyro.setYGyroOffset(0);
accelgyro.setZGyroOffset(0);
Serial.print(accelgyro.getXGyroOffset()); Serial.print("\t");
Serial.print(accelgyro.getYGyroOffset()); Serial.print("\t");
Serial.print(accelgyro.getZGyroOffset()); Serial.print("\t");
My output looks like this:
194 194 194
194 194 194
Which makes me think, that maybe my error lies within the setZGyroOffset-function already.
Does anyone have any thoughts about this for me? Anyone recognises where my fault lies?
Thx,
cbandera