summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_sm')
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
index b50f4916..74e1d3d2 100644
--- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
+++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
@@ -112,13 +112,13 @@ bool FTNoIR_Tracker::GiveHeadPoseData(double *data)
data[TZ] = pMemData->data.new_pose.head_pos.z * 100.0f;
}
if (bEnableYaw) {
- data[RX] = pMemData->data.new_pose.head_rot.y_rads * 57.295781f; // From rads to degrees
+ data[Yaw] = pMemData->data.new_pose.head_rot.y_rads * 57.295781f; // From rads to degrees
}
if (bEnablePitch) {
- data[RY] = pMemData->data.new_pose.head_rot.x_rads * 57.295781f;
+ data[Pitch] = pMemData->data.new_pose.head_rot.x_rads * 57.295781f;
}
if (bEnableRoll) {
- data[RZ] = pMemData->data.new_pose.head_rot.z_rads * 57.295781f;
+ data[Roll] = pMemData->data.new_pose.head_rot.z_rads * 57.295781f;
}
//