diff options
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.cpp')
-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 83a7bce5..2c64d5cb 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -178,7 +178,7 @@ void Tracker::data(THeadPoseData *data) R = r_y.t() * R; QMutexLocker lock(&mutex); // extract rotation angles - data[Pitch] = -rad2deg * atan( -R(0,2) / R(0,0)); + data[Pitch] = rad2deg * atan( -R(0,2) / R(0,0)); data[Roll] = -rad2deg * asin( R(0,1)); data[Yaw] = -rad2deg * atan( R(2,1) / R(1,1)); |