diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-14 12:34:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-14 12:34:26 +0200 |
commit | 2d7e8f1467a37b66a87c949ad266dc9b41c9a1b1 (patch) | |
tree | a4ff5c39551e234516750e4fb23e72b799a42db9 /tracker-pt/camera.h | |
parent | aec9206cec43feb5fa6dd54bee81c1dd185bf2e6 (diff) |
tracker/pt: all callers are double, so float -> double
Diffstat (limited to 'tracker-pt/camera.h')
-rw-r--r-- | tracker-pt/camera.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-pt/camera.h b/tracker-pt/camera.h index e9993855..323ea647 100644 --- a/tracker-pt/camera.h +++ b/tracker-pt/camera.h @@ -41,7 +41,7 @@ public: void set_res(int x_res, int y_res); // gets a frame from the camera, dt: time since last call in seconds - bool get_frame(float dt, cv::Mat* frame); + bool get_frame(double dt, cv::Mat* frame); // WARNING: returned references are valid as long as object bool get_info(CamInfo &ret); @@ -57,8 +57,8 @@ protected: virtual void _set_fps() = 0; virtual void _set_res() = 0; private: - float dt_valid; - float dt_mean; + double dt_valid; + double dt_mean; protected: CamInfo cam_info; CamInfo cam_desired; |