summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-14 11:44:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-14 18:14:46 +0200
commit2f0d5047d3fbe3958f2663c1ac7e7a2ecccc9336 (patch)
treecd0932f9d6d4ca0f6e82a6db4c104ea2eb4d2c78 /opentrack/tracker.h
parent8c882ca9311e70fc0a1577a5c38baba16e4398b2 (diff)
api/tracker: add euler filter
Gimbal lock is a problem too often.
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r--opentrack/tracker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index 079ce473..c1cfa850 100644
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -64,7 +64,7 @@ private:
SelectedLibraries const& libs;
using rmat = dmat<3, 3>;
-
+
dmat<3, 3> r_b;
double t_b[3];
@@ -73,7 +73,6 @@ private:
void t_compensate(const dmat<3, 3>& rmat, const double* ypr, double* output, bool rz);
void run() override;
-
public:
Tracker(main_settings& s, Mappings& m, SelectedLibraries& libs);
~Tracker();