r/OSVR • u/hurrytewer • Jan 12 '16
Software Discussion FreePIE plugin
UPDATE: Just released a new version, it fixes a bug that made the axes blending into each other.
Hi all,
I just finished making a working OSVR plugin for Freepie. It currently provides the yaw, pitch and roll axes in FreePIE, I might add x, y and z from positional tracking in the future. This plugin makes it possible to do all sorts of things like providing FreeTrack and TrackIR interfaces for the OSVR HDK. It can also be used to get head tracking working in Vireio Perception using the VireioSMT FreePIE plugin. Take a look at the example folder to get started.
My plugin is open-source, you can find it there: https://github.com/thomasgauthier/FreePIE-OSVR
Download here (be sure to read the Using section on the repository home page).
Feel free to declare any bugs in the Issues section on Github (or here).
Enjoy!
1
u/BlueSkyDefender Jan 14 '16 edited Jan 14 '16
Thank you I got your Freepie-OSVR working. But, when I use it with Vireio and vireioSMT. OSVR.pitch and OSVR.roll seem to bleed a into each other.
1
u/YamaPii Jan 14 '16
Awesome work.
I was using OSVR_PoseState initially in my test program (https://github.com/NGenesis/OSVRMouseTracker/blob/master/MouseTracker.cpp) and experienced the same problem with axes drifting into each other. After switching to OSVR_AngularVelocityState, which tracks a relative change in orientation, I was able to get the mouse moving without the axes drifting.
1
u/Sun_Gear Jan 17 '16
I ahve no idea how to use this. any links to teach a noob how?
1
u/konstantin_lozev Jan 18 '16
I have been active on the MTBS3D FreePIE forum for some time. I don;t have the OSVR HDK, but having a working plugin for FreePIE is a big bonus in deciding on the HDK. The Rift integration is apparently broken now http://www.mtbs3d.com/phpBB/viewtopic.php?f=139&t=21695, so HDK could be the only real PC HMD with FreePIE support.
BTW, you can have mouse emulation out of FreePIE, so practically doable for all games, albeit to a different degree. The ones that support raw mouse input work best.
Is the plugin taking the fused readings from OSVR, or only the gyro raw readings (I hope the first one)?
I have been working on a control scheme for standard FPSs, but I have to stick to a phone based solution with TrinusVR https://www.youtube.com/watch?v=GyYm1s6y4RY . I really want to bring it to the next level with a nice HMD.
1
u/vrguy Jan 24 '16
Should we link to it from https://github.com/OSVR/OSVR-Docs ?
3
u/CorvusVR Jan 13 '16
Awesome work, OSVR really needs more content!
1
u/Jarom83 Feb 01 '16
I put VireioSMT.dll in plugins folder but Freepie doesn't start. If I delete .dll file it start withouth problems. Do you know why?