diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-27 08:57:04 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-28 07:40:56 +0100 |
commit | 192e1131873e66d2118afd7a6e13e5701053a4d0 (patch) | |
tree | 6199612811aae7d7de4aa3a22f347c96d197e908 /contrib/glovepie/facetracknoir2trackir.pie | |
parent | 7c8b01037e7dd6680d5cd9ba32c27c1a3ed52809 (diff) |
rename "clientfiles/" to "contrib/" as customary
Diffstat (limited to 'contrib/glovepie/facetracknoir2trackir.pie')
-rw-r--r-- | contrib/glovepie/facetracknoir2trackir.pie | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/glovepie/facetracknoir2trackir.pie b/contrib/glovepie/facetracknoir2trackir.pie new file mode 100644 index 00000000..d0839e5d --- /dev/null +++ b/contrib/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 + |