diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-15 02:28:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-15 21:40:40 +0200 |
commit | 8662964ed74af867b2f2c19782478f709e586fc0 (patch) | |
tree | 6b20c78fa26a99c76b9820a693cb455a5435f53c /facetracknoir | |
parent | f43e48bc3388743bc233f7b0b5196a437c937224 (diff) |
drop decimal places for rot/trans in UI
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 6 |
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]); |