![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fertig
Fork of RT2_P3_students by
DiffCounter.h
- Committer:
- altb
- Date:
- 2018-04-09
- Revision:
- 3:769ce5f06d3e
- Parent:
- 1:a30512c3ac73
- Child:
- 7:72982ede2ff6
File content as of revision 3:769ce5f06d3e:
class DiffCounter { public: DiffCounter(float T, float Ts); float operator()(short inc) { return doStep(inc); } virtual ~DiffCounter(); void reset(float initValue, short inc); float doStep(short inc); private: double b; double a; short incPast; double vel; double inc2rad; };