summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-13 23:29:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-13 23:29:51 +0100
commit078c82bbb11a077c1e82f9ed4f0f76a7f89cf629 (patch)
tree5cded76673d1cbc1ab29c9458c9cb4ce88f9e51a /facetracknoir/tracker.cpp
parentf60ced07e25eb48a79645a328b275125b8aa2ea9 (diff)
flip tcomp axis for freetrack protocol
It's the easy way out, for now. Need to align 6DOF conventions of all available trackers, eventually
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r--facetracknoir/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 57762640..1f3257f5 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -54,7 +54,7 @@ static void get_curve(double pos, double& out, THeadPoseDOF& axis) {
static void t_compensate(double* input, double* output, bool rz)
{
- const auto H = input[Yaw] * M_PI / 180;
+ const auto H = input[Yaw] * M_PI / -180;
const auto P = input[Pitch] * M_PI / 180;
const auto B = input[Roll] * M_PI / 180;