Dydaktyka
Dependencies: FastPWM mbed-src
Fork of 2015_04_17_quadro_bez_sterowania by
Offsets.h
- Committer:
- Michu90
- Date:
- 2015-02-10
- Revision:
- 10:605b0bfadc2e
- Parent:
- 5:c3caf8b83e6b
- Child:
- 12:e955cc086c42
File content as of revision 10:605b0bfadc2e:
#ifndef OFFSETS_H #define OFFSETS_H #define M_PI 3.141592 #define M_PI2 1.570796 #include "mbed.h" #include "IMU.h" class Offsets { public: Offsets(); ~Offsets(void); void reset(); void setOffsets(float *, float *, Serial &serial, IMU &imu); void offsetData(float *, float *, float *); void offsetData2(double *, float *, float *); void offsetMagneto(float *, float *, float *); private: int i; //void setOffsets(float *, Serial serial, IMU imu); }; #endif