diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:06:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-02 22:06:28 +0200 |
commit | 59cb4420abf49ecc9417f0125fd69707c228ba20 (patch) | |
tree | e8fb0c2b8a4de39579c998f3f720147f8fcdbcb8 | |
parent | 14c21258edfd6a1fe403b4cfc77365ef2ce2b7ea (diff) |
Merge forgotten PT pitch axis inversion
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 2 |
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;
|