MPU6050 library that is kinda beta and will probably never leave beta but it might help some people.

Fork of MPU6050 by Erik -

Revision:
3:969aeacd8ace
Parent:
1:a3366f09e95c
--- a/MPU6050.cpp	Mon Sep 10 21:26:25 2012 +0000
+++ b/MPU6050.cpp	Thu Jun 05 12:03:19 2014 +0000
@@ -211,7 +211,7 @@
         data[1]=(float)temp[1] / 1879.3;
         data[2]=(float)temp[2] / 1879.3;
         }
-    if (currentGyroRange == MPU6050_GYRO_RANGE_2000){
+    if (currentGyroRange == MPU6050_GYRO_RANGE_2000){   //rad/s
         data[0]=(float)temp[0] / 939.7;
         data[1]=(float)temp[1] / 939.7;
         data[2]=(float)temp[2] / 939.7;