summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_sc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-05 18:55:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-05 18:55:59 +0200
commit56ee1d86556eb39383676fe2dd0bf8dd83d48a97 (patch)
treee25272a2e9ea74ef1f6fb1cccbc2eccb0637711f /ftnoir_protocol_sc
parent5eb808e133282ac0374a8ec2d9bd8451d983b009 (diff)
sc: yaw was flipped
Diffstat (limited to 'ftnoir_protocol_sc')
-rw-r--r--ftnoir_protocol_sc/ftnoir_protocol_sc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
index 9cb15752..1735305c 100644
--- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
+++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
@@ -64,7 +64,7 @@ void FTNoIR_Protocol::run()
void FTNoIR_Protocol::pose( const double *headpose ) {
virtSCRotX = -headpose[Pitch]; // degrees
- virtSCRotY = -headpose[Yaw];
+ virtSCRotY = headpose[Yaw];
virtSCRotZ = headpose[Roll];
virtSCPosX = headpose[TX]/100.f; // cm to meters