title: Formula for getting Roll, Pitch and Yaw values from MPU-9150 raw data
body: <p>I am a newbie in MPU9150 9-axis IMU sensor, working on a project in which the Roll, pitch and Yaw value will be showed in a GUI. I have used the code from here: <a href="https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU9150" rel="nofollow">https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU9150</a>
  The problem is, as in GUI I will show the 3D representation of the roll, pitch and yaw. What will be the specific conversion formula from the raw data?</p>
  
  <p>my WHO_AM_I resistor value: 0x68,</p>
  
  <p>Accelerometer configured : 2g ,</p>
  
  <p>Gyroscope configured: 250 dps,</p>
  
  <p>Any help will be GREAT. Thanks in advance!</p>