Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: DMP/IMUDATA.h
- Revision:
- 0:964eb6a2ef00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DMP/IMUDATA.h	Wed Mar 18 22:23:48 2015 +0000
@@ -0,0 +1,14 @@
+#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
\ No newline at end of file