mohamed askar
/
MPU6050-DMP_6DOF
mpu6050 dmp test
Fork of MPU6050-DMP_6DOF by
Diff: main.cpp
- Revision:
- 8:f8dc6caa1e2a
- Parent:
- 7:9797eb1bdc10
--- a/main.cpp Fri Apr 11 18:34:37 2014 +0000 +++ b/main.cpp Sun Apr 05 18:40:55 2015 +0000 @@ -101,7 +101,7 @@ // from the FIFO. Note this also requires gravity vector calculations. // Also note that yaw/pitch/roll angles suffer from gimbal lock (for // more info, see: http://en.wikipedia.org/wiki/Gimbal_lock) -#define OUTPUT_READABLE_YAWPITCHROLL +//#define OUTPUT_READABLE_YAWPITCHROLL // uncomment "OUTPUT_READABLE_REALACCEL" if you want to see acceleration // components with gravity removed. This acceleration reference frame is @@ -114,7 +114,7 @@ // components with gravity removed and adjusted for the world frame of // reference (yaw is relative to initial orientation, since no magnetometer // is present in this case). Could be quite handy in some cases. -//#define OUTPUT_READABLE_WORLDACCEL +#define OUTPUT_READABLE_WORLDACCEL // uncomment "OUTPUT_TEAPOT" if you want output that matches the // format used for the InvenSense teapot demo