Code for our FYDP -only one IMU works right now -RTOS is working

Dependencies:   mbed

Committer:
majik
Date:
Wed Mar 18 22:23:48 2015 +0000
Revision:
0:964eb6a2ef00
This is our FYDP code, but only one IMU works with the RTOS.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
majik 0:964eb6a2ef00 1 #ifndef IMUDATA_H
majik 0:964eb6a2ef00 2 #define IMUDATA_H
majik 0:964eb6a2ef00 3
majik 0:964eb6a2ef00 4 /**This struct is required for several function in DMP.cpp, ros_machine_interface.h, and reckon.cpp
majik 0:964eb6a2ef00 5 */
majik 0:964eb6a2ef00 6 struct IMU_DATA
majik 0:964eb6a2ef00 7 {
majik 0:964eb6a2ef00 8 float ypr[3]; //save yaw/pitch/roll
majik 0:964eb6a2ef00 9 float acc[3]; //save acceleration in x/y/z
majik 0:964eb6a2ef00 10 float gyr[3]; //rate of rotation x/y/z
majik 0:964eb6a2ef00 11 float quat[4]; //quaternion w/x/y/z
majik 0:964eb6a2ef00 12 };
majik 0:964eb6a2ef00 13
majik 0:964eb6a2ef00 14 #endif