From 2781a354a8fee2165b480de10bc823ee9b52783d Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Tue, 21 May 2013 15:27:03 -0700 Subject: [PATCH] reversed gyro for head (didn't know the headset was on backwards :) --- interface/src/Head.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index f8e89a2c21..b5afb1bd01 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -118,13 +118,13 @@ void Head::setLooking(bool looking) { void Head::calculateGeometry(bool lookingInMirror) { //generate orientation directions based on Euler angles... - float pitch = -_pitch; + float pitch = _pitch; float yaw = -_yaw; - float roll = _roll; + float roll = -_roll; if (lookingInMirror) { yaw = _yaw; - roll = -_roll; + roll = _roll; } _orientation.setToPitchYawRoll