summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-15 04:59:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-15 21:40:40 +0200
commita2ed9ca0f2a237e4de3fab61beff3191935e8986 (patch)
treedfa76c4e6112a2b049461efcfb6a7d72c873a11b /facetracknoir/tracker.h
parent39d223b7fcb661e31e3305f2b56a12bef681bbc4 (diff)
submit mapped data to filter, not raw
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h
index d65e1cf1..afb86802 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -23,12 +23,14 @@ private:
// XXX can be const-cast when functionconfig const-correct -sh 20141004
Mappings& m;
Timer t;
- Pose output_pose, raw_6dof;
+ Pose output_pose, raw_6dof, raw_center, unstopped_raw;
+ double newpose[6];
std::atomic<bool> centerp;
std::atomic<bool> enabledp;
std::atomic<bool> should_quit;
- static void get_curve(double pos, double& out, Mapping& axis);
+ double map(double pos, Mapping& axis);
+ void logic();
static void t_compensate(const double* input, double* output, bool rz);
protected:
void run() override;