Lib_Misc

Dependents:   IndNav_QK3_T265

Unwrapper_2pi.h

Committer:
altb2
Date:
2020-01-10
Revision:
14:d5f47a30ef19
Parent:
0:3312872854c4

File content as of revision 14:d5f47a30ef19:

/*  
*/

using namespace std;

class Unwrapper_2pi
{
public:

    Unwrapper_2pi(void);
    
    float operator()(float in) {
        return doStep(in);
    }
    
    virtual     ~Unwrapper_2pi();
    
    void        reset(void);
    float       doStep(float inc);

private:

    long turns;
    float last_value;

};