From 9edc4683ecd75d4705aca13217779e3c1a721913 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 27 Jun 2013 16:06:34 +0200 Subject: Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion Requested-by: mm0zct --- ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftnoir_tracker_hillcrest') 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; } -- cgit v1.2.3