summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 10:51:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 10:51:22 +0200
commit9af18404a44f68a3d65bf30843abc99b27ed68f7 (patch)
treea9b946575c5204b74f9b3804cd7fd20d9413bc43 /opentrack/tracker.h
parent343bdbaa7d3ac2fd6ee3d83c2d8bee5d80c94fda (diff)
tracker: check for NaN values
Issue: #255
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r--opentrack/tracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index c5c39797..b0e89455 100644
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -48,7 +48,7 @@ private:
Mappings& m;
Timer t;
- Pose output_pose, raw_6dof;
+ Pose output_pose, raw_6dof, last_mapped, last_raw;
double newpose[6];
volatile bool centerp;