FSG / IMU_code_

Fork of IMU_code_7_14 by Troy Holley

Committer:
mdavis30
Date:
Fri Jun 30 18:32:10 2017 +0000
Revision:
1:0672f84101e4
Parent:
0:22fc81041056
Child:
3:232de5807dac

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mdavis30 0:22fc81041056 1 #ifndef IMU_CODE_H
mdavis30 0:22fc81041056 2 #define IMU_CODE_H
mdavis30 0:22fc81041056 3
mdavis30 0:22fc81041056 4 #include <string>
mdavis30 0:22fc81041056 5 using namespace std;
mdavis30 0:22fc81041056 6
mdavis30 0:22fc81041056 7 class IMU_code
mdavis30 0:22fc81041056 8 {
mdavis30 0:22fc81041056 9 //CLASS VARIABLES and DEFINITIONS
mdavis30 1:0672f84101e4 10 //const double GRAVITY = 9.80665;
mdavis30 0:22fc81041056 11
mdavis30 0:22fc81041056 12 #define NUMDESCRIPTS 4
mdavis30 0:22fc81041056 13 #define MAXPACKETSIZE 100
mdavis30 0:22fc81041056 14 #define SAMPLE_RATE 20 //IMU sample rate
mdavis30 0:22fc81041056 15
mdavis30 0:22fc81041056 16 public:
mdavis30 0:22fc81041056 17 IMU_code(); //pass variables to a constructor (don't need anything passed to it)
mdavis30 0:22fc81041056 18 string IMU_run(); //function ()
mdavis30 1:0672f84101e4 19 float IMU_pitch(); //temporary change
mdavis30 0:22fc81041056 20 };
mdavis30 0:22fc81041056 21
mdavis30 0:22fc81041056 22 #endif /* IMU_CODE_H_ */