summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-02 22:06:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-02 22:06:28 +0200
commit59cb4420abf49ecc9417f0125fd69707c228ba20 (patch)
treee8fb0c2b8a4de39579c998f3f720147f8fcdbcb8 /ftnoir_tracker_pt
parent14c21258edfd6a1fe403b4cfc77365ef2ce2b7ea (diff)
Merge forgotten PT pitch axis inversion
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt.cpp2
1 files changed, 1 insertions, 1 deletions
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;