2nd try
Unwrapper_2pi.h
- Committer:
- altb2
- Date:
- 2021-02-25
- Revision:
- 3:29602f4ade5c
- Parent:
- 0:72b60c5271cc
File content as of revision 3:29602f4ade5c:
#ifndef UNWRAPPER_2PI_H_ #define UNWRAPPER_2PI_H_ 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; }; #endif