summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-22 19:33:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-22 19:33:24 +0200
commit0c9992c5fd5ea3d96d4b465c3c09b85c447ccc55 (patch)
tree376c6d4e5650f1883788a93745c725b343173fa8
parent543daf2394f534e5052e8055307415fa8ab7d407 (diff)
center to filtered pose, not raw
-rw-r--r--opentrack/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index 8f1854e9..b40399e3 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -121,7 +121,7 @@ void Tracker::logic()
if (centerp)
{
centerp = false;
- raw_center = final_raw;
+ raw_center = filtered_pose;
}
Pose raw_centered = filtered_pose & raw_center;