summaryrefslogtreecommitdiffhomepage
path: root/clientfiles/glovepie/facetracknoir2trackir.pie
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-24 15:59:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-24 15:59:28 +0200
commitaa8a392c18f726d5bbb0f40e261744ce4d612500 (patch)
tree825553fb533ad20105641ef2d10f91c8753cf9be /clientfiles/glovepie/facetracknoir2trackir.pie
parentfcc69215e6156a8afc186aadd22ab2d7821d52d6 (diff)
mv only
Diffstat (limited to 'clientfiles/glovepie/facetracknoir2trackir.pie')
-rw-r--r--clientfiles/glovepie/facetracknoir2trackir.pie16
1 files changed, 16 insertions, 0 deletions
diff --git a/clientfiles/glovepie/facetracknoir2trackir.pie b/clientfiles/glovepie/facetracknoir2trackir.pie
new file mode 100644
index 00000000..d0839e5d
--- /dev/null
+++ b/clientfiles/glovepie/facetracknoir2trackir.pie
@@ -0,0 +1,16 @@
+//
+// 6 Degrees of Freedom Headtracking with FaceTrackNoIR
+// 2010 by Wim Vriend
+//
+pie.FrameRate = 120Hz
+var.multiply = 1.5
+var.R2D = 57.295781
+FakeTrackIR.pitch=(Joystick.pitch - 0.10) * var.R2D * var.multiply
+FakeTrackIR.yaw=(Joystick.yaw - 0.10) * var.R2D * var.multiply
+FakeTrackIR.roll=(Joystick.roll - 0.10) * var.R2D * var.multiply
+FakeTrackIR.x=(Joystick.x - 0.10) * var.R2D * var.multiply
+FakeTrackIR.y=(Joystick.y - 0.10) * var.R2D * var.multiply
+FakeTrackIR.z=(Joystick.z - 0.10) * var.R2D * var.multiply
+debug = 'pitch='+FakeTrackIR.pitch+' roll='+FakeTrackIR.roll+' yaw='+FakeTrackIR.yaw+' xyz=('+FakeTrackIR.x+','+FakeTrackIR.y+','+FakeTrackIR.z+')'
+//debug = FakeTrackIR.active
+