diff options
Diffstat (limited to 'ftnoir_tracker_udp')
-rw-r--r-- | ftnoir_tracker_udp/ftnoir_tracker_udp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp index e62a54cc..83f518fa 100644 --- a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp +++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp @@ -121,13 +121,13 @@ bool FTNoIR_Tracker::GiveHeadPoseData(double *data) data[TZ] = newHeadPose[TZ];
}
if (bEnableYaw) {
- data[RX] = newHeadPose[RX];
+ data[Yaw] = newHeadPose[Yaw];
}
if (bEnablePitch) {
- data[RY] = newHeadPose[RY];
+ data[Pitch] = newHeadPose[Pitch];
}
if (bEnableRoll) {
- data[RZ] = newHeadPose[RZ];
+ data[Roll] = newHeadPose[Roll];
}
mutex.unlock();
return true;
|