I'm working on my own DIY Omni Treadmill for Oculus/VR gaming, everything is built and functional (see https://www.youtube.com/watch?v=yI8WjaXX1tk for gameplay, and https://www.youtube.com/watch?v=oi5DU2JfRhU for a build log)
Previously, I was using FAAST for Kinect to do tracking. It worked, but no matter how much I tweaked my profile the tracking just sucked to be honest. I'd like to try using my Wii Remotes instead after seeing some other scripts using GlovePIE. This one in particular looked to be just what I was looking for: http://www.reddit.com/r/oculus/comments ... lk_ingame/
However, the Oculus Runtime Service has some incompatibility with GlovePIE (as described herehttps://forums.oculus.com/viewtopic.php?t=15216) and literally can't get the two to work together at all. FreePIE seemed like a decent alternative, and doesn't crash or have any noticable problems with Oculus, but I really don't know what I'm doing with FreePIE.
Could anybody help out and come up with a simple script to take WiiMote input and translate it into simple "W" keystrokes? It would be greatly appreciated. I have 2 wiimotes available, one with motionplus and one without if that matters. Would like to pair the wiimote(s) over bluetooth, slide it in your pocket, and start playing. Thanks in advance!
Any help with FreePIE?
-
- One Eyed Hopeful
- Posts: 2
- Joined: Tue Feb 10, 2015 4:10 pm
Re: Any help with FreePIE?
I am also hoping for the wiimote walking option to be perfected before the oculus consumer version comes out (which I'm planning to buy).
Maybe you could use two wiimotes. One for the left leg and one for the right.
Then a third wiimote for shooting (if they sort out the drift/decalibration problem).
That would be a perfect setup for everyone, with very little cost.
Keep us updated!
Maybe you could use two wiimotes. One for the left leg and one for the right.
Then a third wiimote for shooting (if they sort out the drift/decalibration problem).
That would be a perfect setup for everyone, with very little cost.
Keep us updated!
-
- Cross Eyed!
- Posts: 192
- Joined: Fri Jul 04, 2014 1:43 am
Re: Any help with FreePIE?
I think the link that you got on Reddit should do the job http://pastebin.com/Wkvmc3n1
As I noted there, CyberVillain advised to use the .NET timer instead http://www.mtbs3d.com/phpBB/viewtopic.php?f=139&t=20257
EDIT: I have tried a similar GlovePIE script and I think this approach has a disadvantage that it only picks up total accelerations beyond 1G (I got the idea why...). While you walk the wiimote can often experience <1G, which will register as no walking. I understand that the interval and max accelerometer readings picked up during that time are meant to alleviate that, but that also gives some lag, i.e. you continue walking after you stopped walking for a split second. I tried an alternative approach to check the delta of the total accelerations for changes beyond a noise threshold and it felt more responsive, I think.
As I noted there, CyberVillain advised to use the .NET timer instead http://www.mtbs3d.com/phpBB/viewtopic.php?f=139&t=20257
EDIT: I have tried a similar GlovePIE script and I think this approach has a disadvantage that it only picks up total accelerations beyond 1G (I got the idea why...). While you walk the wiimote can often experience <1G, which will register as no walking. I understand that the interval and max accelerometer readings picked up during that time are meant to alleviate that, but that also gives some lag, i.e. you continue walking after you stopped walking for a split second. I tried an alternative approach to check the delta of the total accelerations for changes beyond a noise threshold and it felt more responsive, I think.