diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-20 21:08:05 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 19:32:10 +0100 |
commit | 8df66eca161e5ba6364a03f8ba857f1a1b8416c4 (patch) | |
tree | 9e65907cfdc5064d4a2ffca6f3c7c1b01960f6d0 /tracker-wii/wii_camera.h | |
parent | 519b28224ea39ea0f42cdf83dd7b1e67b4b3caf3 (diff) |
tracker/wii: remove unused variables, sort per alignment
Diffstat (limited to 'tracker-wii/wii_camera.h')
-rw-r--r-- | tracker-wii/wii_camera.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/tracker-wii/wii_camera.h b/tracker-wii/wii_camera.h index 3b67b286..11af8846 100644 --- a/tracker-wii/wii_camera.h +++ b/tracker-wii/wii_camera.h @@ -45,30 +45,23 @@ struct WIICamera final : pt_camera void show_camera_settings() override; private: - std::unique_ptr<wiimote> m_pDev; static void on_state_change(wiimote &remote, state_change_flags changed, const wiimote_state &new_state); - bool onExit = false; - pt_frame internalframe; - - - double dt_mean = 0; - - Timer t; wii_camera_status pair(); wii_camera_status get_frame_(cv::Mat& Frame); bool get_points(struct wii_info& wii); void get_status(struct wii_info& wii); + std::unique_ptr<wiimote> m_pDev; + pt_camera_info cam_info; pt_camera_info cam_desired; - QString desired_name, active_name; + struct { float p = 0, r = 0; } horizon; pt_settings s; - - static constexpr inline double dt_eps = 1./384; + bool onExit = false; }; } // ns pt_module |