From 4929fc3045e0a2bf1593eeae633d70fd662bcf0f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 29 Oct 2014 05:54:32 +0100 Subject: rift needs yaw+pitch swappage Evidence: people's configs found on google --- ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp index 724c7d3d..0328428f 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp @@ -58,8 +58,8 @@ void Rift_Tracker::data(double *data) old_yaw=yaw; } constexpr double d2r = 57.295781; - data[Yaw] = yaw * d2r; - data[Pitch] = pitch * -d2r; + data[Yaw] = yaw * -d2r; + data[Pitch] = pitch * d2r; data[Roll] = roll * d2r; data[TX] = pose.Position.x * -1e2; data[TY] = pose.Position.y * 1e2; -- cgit v1.2.3