0

Downloaded MPU library from https://github.com/jrowberg/i2cdevlib.

I graphed yaw values and its not accurate.

The graph has kept increasing,I don't think it's a right way.

Please check the below graph.

  • This is the correct behavior and is called [drifting](http://forum.arduino.cc/index.php?topic=302824.0). You can handle this problem by creating a fusion of two or more sensor informations like gyroscope and accelerometer. You also have to apply some sort of filter, like [kalman filter](http://www.instructables.com/id/Guide-to-gyro-and-accelerometer-with-Arduino-inclu/) – ckruczek Jul 08 '16 at 11:12
  • No sorry, this is how programming and learning goes. Learning by doing. You will learn much more if you do it by yourself. – ckruczek Jul 08 '16 at 11:45
  • True, but yaw values are keep increasing. – Aishwarya royal Jul 11 '16 at 09:22
  • As I already told you, you have to fuse different sensor data and apply a filter. – ckruczek Jul 11 '16 at 11:08

0 Answers0