MPU9250
Fork of MPU6050 by
Diff: MPU6050.cpp
- Revision:
- 18:4ca30337237b
- Parent:
- 17:902d1491455f
- Child:
- 19:09cc5b07e150
--- a/MPU6050.cpp Wed Mar 28 21:48:26 2018 +0000 +++ b/MPU6050.cpp Wed Mar 28 22:00:16 2018 +0000 @@ -3864,13 +3864,13 @@ *hy = hy_cache; *hz = hz_cache; - *ax = tX[0]*axx + tX[1]*ayy + tX[2]*azz; // transform axes + /**ax = tX[0]*axx + tX[1]*ayy + tX[2]*azz; // transform axes *ay = tY[0]*axx + tY[1]*ayy + tY[2]*azz; *az = tZ[0]*axx + tZ[1]*ayy + tZ[2]*azz; *gx = tX[0]*gxx + tX[1]*gyy + tX[2]*gzz; *gy = tY[0]*gxx + tY[1]*gyy + tY[2]*gzz; - *gz = tZ[0]*gxx + tZ[1]*gyy + tZ[2]*gzz; + *gz = tZ[0]*gxx + tZ[1]*gyy + tZ[2]*gzz;*/ } /* get accelerometer, gyro, and magnetometer data given pointers to store values */