Ruprecht Altenburger
/
mirror_actuator_preston
corrections altb2
Diff: Lib_Misc/Unwrapper.h
- Revision:
- 0:d2e117716219
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib_Misc/Unwrapper.h Sun May 02 19:32:30 2021 +0000 @@ -0,0 +1,26 @@ +/* +*/ + +using namespace std; + +class Unwrapper +{ +public: + + Unwrapper(double); + + double operator()(short inc) { + return doStep(inc); + } + + virtual ~Unwrapper(); + + void reset(void); + double doStep(short inc); + +private: + + long last_value; + double inc2rad; + +};