summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.cpp')
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp4
1 files 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;