summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-02-17 06:09:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-02-17 06:09:34 +0100
commit7da215ba3abca612b30d2d66e2be35f11342a7b0 (patch)
tree1c908479f5679100b05236a3c11bbeb27b979003 /ftnoir_tracker_pt/ftnoir_tracker_pt.h
parent48d1c492f738f077a89d7d0fbbfb9c8d368fefa0 (diff)
pt: calibrate only if pose received
Otherwise breaks center-on-startup logic.
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.h')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.h b/ftnoir_tracker_pt/ftnoir_tracker_pt.h
index 14be5c7f..399d0693 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt.h
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.h
@@ -71,6 +71,8 @@ private:
settings s;
Timer time;
+
+ bool success;
static constexpr double rad2deg = 180.0/3.14159265;
static constexpr double deg2rad = 3.14159265/180.0;