reversed gyro for head (didn't know the headset was on backwards :)

This commit is contained in:
Jeffrey Ventrella 2013-05-21 15:27:03 -07:00
parent e09e01b81e
commit 2781a354a8

View file

@ -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