summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index f689cb5f..73dae199 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -353,6 +353,12 @@ void FaceTrackNoIR::showHeadPose()
if (mapping_widget)
mapping_widget->update();
+
+ for (int i = 0; i < 6; i++)
+ {
+ mapped[i] = (int) mapped[i];
+ raw[i] = (int) raw[i];
+ }
ui.lcdNumX->display(raw[TX]);
ui.lcdNumY->display(raw[TY]);