This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can we compute the Roll and Pitch from MPU6050 data?

I want to compute the roll and pitch from gyro and accelerometer data from MPU6050. I apply the DCM library from Tivaware, but actually, i cannot get the roll and pitch? The code i use is similar to mpu9150 sensorhub example!