Dydaktyka

Dependencies:   FastPWM mbed-src

Fork of 2015_04_17_quadro_bez_sterowania by Quadrocopter

Offsets.h

Committer:
Michu90
Date:
2015-04-17
Revision:
12:e955cc086c42
Parent:
10:605b0bfadc2e

File content as of revision 12:e955cc086c42:

/*
2014_12_15
Author: Michał Szewc
Free to use
*/

#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