diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:06:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:07:18 +0200 |
commit | 9edc4683ecd75d4705aca13217779e3c1a721913 (patch) | |
tree | 6e1336679d023efde7047fd6e1267272e7c42557 /ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | |
parent | 21f76439ae4c918184d00f41e89bb32c8633ba1d (diff) |
Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion
Requested-by: mm0zct
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index ddf91c59..99b2f680 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -240,13 +240,13 @@ bool Tracker::GiveHeadPoseData(double *data) gamma = atan2( R(2,1), R(2,2));
if (bEnableYaw) {
- data[RX] = rad2deg * alpha;
+ data[Yaw] = rad2deg * alpha;
}
if (bEnablePitch) {
- data[RY] = rad2deg * beta;
+ data[Pitch] = rad2deg * beta;
}
if (bEnableRoll) {
- data[RZ] = rad2deg * gamma;
+ data[Roll] = rad2deg * gamma;
}
}
return true;
|