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.
Fork of IMU_code_7_14 by
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_ */
