From 59cb4420abf49ecc9417f0125fd69707c228ba20 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 2 Apr 2013 22:06:28 +0200 Subject: Merge forgotten PT pitch axis inversion --- ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_tracker_pt') diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index db863e3a..b4cb613b 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -245,7 +245,7 @@ bool Tracker::GiveHeadPoseData(THeadPoseData *data) data->yaw = rad2deg * alpha; } if (bEnablePitch) { - data->pitch = rad2deg * beta; + data->pitch = -rad2deg * beta; } if (bEnableRoll) { data->roll = rad2deg * gamma; -- cgit v1.2.3