This is for our FYDP project. 2 MPU6050s are used
DMP/IMUDATA.h
- Committer:
- majik
- Date:
- 2015-03-22
- Revision:
- 4:05484073a641
- Parent:
- 0:21019d94ad33
File content as of revision 4:05484073a641:
#ifndef IMUDATA_H #define IMUDATA_H /**This struct is required for several function in DMP.cpp, ros_machine_interface.h, and reckon.cpp */ struct IMU_DATA { float ypr[3]; //save yaw/pitch/roll float acc[3]; //save acceleration in x/y/z float gyr[3]; //rate of rotation x/y/z float quat[4]; //quaternion w/x/y/z }; #endif