Hello everyone!
I am experimenting with MPU6050 sensor data. I have found some un-predictable values which I am unable to understand. I performed a simple test. I moved the kit (with sensor MPU6050) from right to left. As per my understanding, initially the kit is at rest, output values should be 0. When I start moving, values should increase. When I stop moving it, values should gradually decrease to 0. However the values I get are not as predicted. I have used Jeff Rowberg's library which uses DMP (MotionApps v2.0). I am using option OUTPUT_READABLE_WORLDACCEL (gravity removed and adjusted for the world frame of reference). Here are the output values
0
0
0
0
86
390
785
1241
1759
2289
2785
3238
3986
4301
4638
5063
5473
5846
6222
6604
6953
7324
7134
6773
6278
5709
5016
4168
3067
438
680
1748
2831
3947
6645
8034
9088
9715
9839
9677
9410
9172
8815
8543
8127
7514
6719
5830
4983
4296
2948
2262
1562
882
252
0
0
0
Above values show that the values increase then decrease, once again increase and then finally decrease. The values indicated 2 movements instead of one.
I have performed this test multiple times and same pattern is observed. I can't understand what is happening. Clearly I am missing something or not understanding correctly. Sensors can't be so un-predictable.
Please help me to resolve this issue/misunderstanding.
Thanks & regards.