diff options
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r-- | opentrack/tracker.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h index 462f4e50..4282bc4e 100644 --- a/opentrack/tracker.h +++ b/opentrack/tracker.h @@ -21,18 +21,22 @@ private: QMutex mtx; main_settings& s; Mappings& m; - + Timer t; - Pose output_pose, raw_6dof, raw_center, final_raw; + Pose output_pose, raw_6dof, final_raw; + double newpose[6]; std::atomic<bool> centerp; std::atomic<bool> enabledp; std::atomic<bool> should_quit; SelectedLibraries const& libs; - + + Quat r_b; + double t_b[3]; + double map(double pos, Mapping& axis); void logic(); - + static void t_compensate(const double* input, double* output, bool rz); void run() override; public: |