diff options
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;
|