FSG / IMU_code_

Fork of IMU_code_7_14 by Troy Holley

IMU_code.h

Committer:
mdavis30
Date:
2017-07-21
Revision:
3:232de5807dac
Parent:
1:0672f84101e4

File content as of revision 3:232de5807dac:

#ifndef IMU_CODE_H
#define IMU_CODE_H

#include <string>
using namespace std;

class IMU_code
{
    //CLASS VARIABLES and DEFINITIONS
    //const double GRAVITY = 9.80665;
    
    #define NUMDESCRIPTS 4
    #define MAXPACKETSIZE 100
    #define SAMPLE_RATE 20  //IMU sample rate

public:
    IMU_code();    //pass variables to a constructor (don't need anything passed to it)
    string IMU_run();    //function ()
    float IMU_pitch();  //temporary change
    float IMU_yaw();
};

#endif /* IMU_CODE_H_ */