summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hillcrest
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-27 16:06:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-27 16:07:18 +0200
commit9edc4683ecd75d4705aca13217779e3c1a721913 (patch)
tree6e1336679d023efde7047fd6e1267272e7c42557 /ftnoir_tracker_hillcrest
parent21f76439ae4c918184d00f41e89bb32c8633ba1d (diff)
Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion
Requested-by: mm0zct
Diffstat (limited to 'ftnoir_tracker_hillcrest')
-rw-r--r--ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
index f2dd1fd7..e6c3bbf2 100644
--- a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
+++ b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
@@ -213,11 +213,11 @@ bool FTNoIR_Tracker::GiveHeadPoseData(double *data)
freespace_perform();
body = cachedBodyFrame;
if (bEnableYaw)
- data[RX] = body.angularVelZ * TO_DEG;
+ data[Yaw] = body.angularVelZ * TO_DEG;
if (bEnablePitch)
- data[RY] = body.angularVelY * TO_DEG;
+ data[Pitch] = body.angularVelY * TO_DEG;
if (bEnableRoll)
- data[RZ] = body.angularVelX * TO_DEG;
+ data[Roll] = body.angularVelX * TO_DEG;
}
return device != -1;
}