r/OSVR • u/Minotaurus0 • Mar 24 '16
Software Discussion SteamVR Controller - OSVR Controller - WiiMote,PSMove
Update 2016-05-30
- Since I don't get the time I will now upload the whole PSMove Code from my HDD as an archive. Feel free to download, cleanup up and upload on your name. It was packed directly from drive C: ,so you can unpack directly there and use Visual Studio 2013 Community. This should work.
- Feel free to ask questions here.
- Link
Update 2016-05-12
- Added Github-Link for SteamVR Plugin (see below)
- PSMove Github-Link will follow
- I stopped working on the plugins for the next month(s), so feel free to continue the work
Important: I forgot (please don't punch me): You maybe have to delete the transform.csv by yourself for now and restart the OSVR Server to rerun the camera calibration.
Update 2016-04-24
PSMove Plugin: Link below
- fixed orientation reset, but drift is also there (you need to re-run magnetometer_calibration)
- fixed missing DLL for camera calibration
- updated camera calibration in instructions.txt (please re-read)
SteamVR: Link below
- fixed not correct working buttons
PSMove Plugin: Link
- built with OSVR Server rev. 1138 32bit
- I only get the MotionControllers to pair on Windows 10
- Orientation is drifting much for the moment
- Only tested with one MotionController at the moment, but should work with two
- instructions.txt inside
- Code Direct Download: Link
SteamVR with Controller support: Link
- built with OSVR Server rev. 1138 32bit
- instructions.txt inside
- could not test it ingame, but in compositor works for me
- Github: Link
If it works and major bugs are fixed, I will upload the code.
Hey, I am currently working on some plugins. Here is a short list and I will update if something happen. I am waiting for the HDK, so I can only test with TrackerViewer and some emulated HMD Data. Maybe you can help me with testing in a real gameplay case. I will upload or make a pull request all sourcecode, when it is working and tested.
SteamVR Controller Support
I am working on support for HandControllers in the OSVR SteamVR Driver.
The tree paths are mostly the same like in the OSVR Unreal Plugin. see here
* It is working so far, but I have to add the support for Buttons and Joystick/Trigger.
* I think I will upload a first Version on this weekend.
OSVR Controller-Plugin
This is only for testing the SteamVR Driver, but maybe it will be usefull later. It is using a GameController (like XB360 Gamepad) to emulate a HandController.
It will be configurable by a json file.
* It is working so far, but I have to add the support for Buttons and Joystick/Trigger.
* I think I will upload a first Version on this weekend.
WiiMote,PSMove
After the SteamVR Plugin is working I will start working on OSVR Plugins for using the WiiMote and the PSMove as HandControllers.
I think the Button/Joystick part will use the OSVR Controller-Plugin and the position/rotation tracking will be done by the extra plugin.
I will start with the WiiMote. The tracking for the WiiMote will be done by ARToolkit or something like this.
4
u/hurrytewer Mar 24 '16
That's so cool, I can't wait to play Vive games with my HDK :D! I've personally started working on a PSMove plugin. It works ok as of now, I've got the position and orientation data working with OSVR, as well as buttons. I still have some things to fix, having both the PSMove plugin and the OSVR positional tracking at the same time makes the OSVR server crash for example. I also need to figure out how to co-register the PSMove coordinate system with the HDK coordinate system (the HDK camera doesn't see the PSMove LED). I'm using /u/bullale psmoveapi fork which has more reliable tracking. He created a small utility to co-register the psmove coordinate system with the Oculus DK2 coordinate system, so it should be fairly easy to port to OSVR.
2
u/lord_brenwen Mar 24 '16
Exellent news! It was said that osvr tracking camera can track many devices at one time, it would be great if it is possible to use it with WiiMote or PSMove.
1
u/konstantin_lozev Mar 24 '16
Can you explain your pland for the wiimote tracking? Hardwarewise it was not designed for wide fov optical tracking (inside-out tracking), unlike the PS Move.
1
u/demonixis Apr 18 '16
Just to react to your last update, I see that the PS Move is finally here.. That's a very good news because it's hard to get it working with current SDK arround the web. What does work?
In all case good job! Have you a github repo where we can maybe help you?
1
u/Nanospork Apr 18 '16
This just convinced me to pick up two PS Move controllers. Excited to try this out with The Lab!
Any particular reason you haven't tested outside of the compositor/debug logs? Was it not working or did you just not have the opportunity to test?
1
u/hurrytewer Apr 19 '16 edited Apr 19 '16
I can't get the PSMoveCameraCalibration utility to work. The further I get is
Pressing the move button doesn't do anything.
1
u/God_is_with_us Apr 22 '16
I can't get the PSMoveCameraCalibration utility to work. I keep getting this error when I run it with the Move controllers connected. "ERROR: Can not get any working move controller!"
1
u/elegor Apr 23 '16
I've been trying to get this working with my DK2, but the controllers just don't show up in Steam VR (although they do work when I run test_opengl.exe from the psmove-ue4-master repository on github). This is the output I get from osvr_serve.exe:
This is the output from your most recent PSMoveCameraCalibration.exe:
There seem to be errors in both of them, but I'm not sure if they're important or if there's anything I've missed during the setup.
I'd love to get this working, so thanks for any help you can give!
1
u/Nanospork Apr 23 '16 edited Apr 23 '16
Hey there, got my PS Move controllers in and I'm trying to set up this plugin.
Unfortunately, every time I try to run the camera calibration I get the error:
And the same, but with MSVCR120D.dll.
Poking around on the internets, it looks like these are debug libraries and there's no really good way for an end user to get them. Is there any chance you can compile a release version of the camera calibration utility?
EDIT: Installed Visual Studio 2013 and got the camera calibration to run, but still a good idea to put these up as release builds so others don't have to.
Now my problem is that it's getting stuck. The last two lines are:
And it just stops there.
I am using the CL-Eye driver for reference.
EDIT2: More info. If I start the OSVR server with just the osvr_server_config.psmovetracker.json config, it works, but I obviously can't take any samples. If I start it with my osvr_server_config that has the contents of the psmovetracker config added to the driver section, it always asks me what camera I want to use when starting the PSMoveCameraCalibration.exe. After pressing Okay anywhere from 1 to 3 times, it gets stuck in the place I described above.
1
u/bdone2012 Apr 24 '16 edited Apr 24 '16
I think I'm so close to getting this to work. I started the server and then run PSMoveCameraCalibration. It tells me to wave the hmd with the psmove controllers around while holding the move button down. And then I get lots of lines that say HMD position not valid, skipping sample. I checked and there's no transorm.csv file but i did get PSeye_backup and colormapping.dat Thanks for your work on this.
I am getting an error in the server that says "com_osvr_PSMOVETracker/ PSMOVETracker No driver initialization callback was registered for the driver name PSMOVETracker"
Edit: Both the red and blue light are showing up on the camera. Both controllers are showing up as connected to bluetooth and the small red lights on them are staying lit. Also when I run the PSMoveCameraCalibration the big light on the controller turns on.
1
u/6_Demon_Bag Apr 25 '16
Please excuse my ignorance but don't the Vive controllers have touch pads on them? How are you going to emulate those? Also I think they have pressure sensitive grips on them too.
1
u/pearce29 Apr 25 '16 edited May 14 '16
Upon running server I keep getting "no camera calibration found" and in PSmoveCameraCalibration.exe it gives error unable to open registry key [HKCU] software/ps3eyeCamera/settings. I can plainly see PSmoveCameraCalibration.exe is in bin folder. How do I fix this? Thanks
Edit: I added the registry folder then It asks for video source 3 times then "no lens calibration files found". I did a bunch of troubleshooting and I fixed the problem by using USBDeview and removing all PS3eye entries and the hdk tracker camera entry then using zadig to switch just the PS3eye driver and now works like supposed to. Instructions can be found here https://github.com/HipsterSloth/psmove-unity5/wiki/Troubleshooting-(Windows) (you don't need to run Assets\Plugins\x86_64\test_opengl.exe). May need to switch to different USB port.
1
u/dachshund103 Apr 26 '16
Is it possible for you to upload a video showcasing your work? So we can see what exactly you plugin offers in person.
1
u/kipokipo Apr 27 '16
i'm having issues with the controllers connecting to steamvr, everything seems ok but i dont get any light on the psmoves (bar the purple init light) there for no tracking. Buttons work fine. Also it may be worth mentioning that the psmove red light has never been solid even though they are both correctly paired. This is my OSVR startup log - OSVR Log
1
u/Cman1468 Apr 30 '16 edited Apr 30 '16
I cant get the controllers to connect with my PC. When I run psmovepair.exe the window just stays open for an instant, then closes. When I run the exe in cmd, then this is what I get:
It looks like it can't find my bluetooth radio, but mines plugged in. Why can't it find it? This is the one I have: http://www.amazon.com/TRENDnet-Bluetooth-Distance-Compatible-Classic/dp/B003KU4DOG?ie=UTF8&psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00
EDIT: I also just tried the bluetooth radio from this set: http://www.amazon.com/Panda-Wireless-Combo-Wifi-Bluetooth/dp/B00C5PJHNY/ref=sr_1_6?s=pc&ie=UTF8&qid=1461977705&sr=1-6&keywords=raspberry+pi+bluetooth Also didn't work. I'm also running Windows 10, if that makes a difference
1
u/LeejSm1th May 02 '16
Hi, I have a move controller linked in and showing steady red. I cant get the psmove plugin to run, it says it cant find it. http://i.imgur.com/W7NkSGp.jpg
I put the dll into the osvr plugins folder. http://i.imgur.com/5aNmXQR.jpg
I am guessing this is why the PSMoveCameraCalibration wont start.
{ "description": "This configuration supports video (so-called 'positional') and IMU fusion tracking, in addition to orientation-only tracking, with the OSVR HDK. It is configured for RenderManager applications in direct mode (portrait) on HDK 1.3 optics.", "display": "displays/OSVR_HDK_1_3.json", "renderManagerConfig": "sample-configs/renderManager.direct.portrait.json", "drivers": [{ "plugin": "com_osvr_VideoBasedHMDTracker", "driver": "VideoBasedHMDTracker", "params": { "showDebug": false, "includeRearPanel": true, "headCircumference": 55.75, "calibrationFile": "videotrackerCombinedCalibrationFile13.json" } }, { "plugin": "org_osvr_filter_videoimufusion", "driver": "VideoIMUFusion", "params": { "name": "HeadFusion", "input": { "imu": "/com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd", "faceplate": "/com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front" }, "eyeHeight": 0, "cameraIsForward": true } }, { "plugin": "com_osvr_PSMoveTracker", "driver": "PSMoveTracker", "params": { "index": 0 } }], "aliases": { "/headSpace": { "translate": [0.0, 0.0, 0.04141], "child": "/org_osvr_filter_videoimufusion/HeadFusion/semantic/fused" }, "/me/head": "/headSpace" } }
1
u/bdone2012 May 03 '16 edited May 03 '16
/u/Minotaurus0
I just noticed that the Regular OSVR isn't working with steamvr could this be why my controller aren't being detected?https://www.reddit.com/r/OSVR/wiki/steamvrEdit: Nevermind I'm an idiot and was missing a file.
Edit 2: I tried playing surgeon simulator. All the buttons work. And the hand moves but tracking is very off. I'm using your transform.csv. Is that what I'm supposed to be doing? Also the head tracking is kind of weird too. Is the rift Pseye tracking the headset or is the rift camera? Also only one controller is working even though both work in tracker viewer.
1
u/dachshund103 May 12 '16
How can I get steam vr to recognize inputs from a Wiimote?
1
u/demonixis Mar 24 '16
That's a pretty good news! A kinect V1/V2 plugin for OSVR could be a great addition too ;)
1
u/Razer-Right Mar 24 '16
Awesome stuff. Keep us posted.
1
u/demonixis Mar 25 '16
Can we use the IR Camera of the HDK with the Wiimote?
1
u/TotesMessenger Apr 18 '16
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/konstantin_lozev Apr 18 '16
Awesome stuff!
1
u/SiliconDroid Apr 18 '16
Great work!
1
u/[deleted] Apr 18 '16
Oh my heavens above I love you.
1
u/betavr Apr 19 '16
Nice job man!
1
u/jferdog May 13 '16
Hi. Thanks for the work that you have put into this little project. I'm just having an issue with one of the very last steps of setup. When I run PSMoveCameraCalibration.exe, it initializes the Head and then spits out a couple of error lines.
Do you have any idea what the problem could be?
1
u/Derpyykiin May 18 '16
How do I even set this up I have the controllers the ps3 eye but I am damn well clueless on how to get this to work with steamvr.
1
u/MusicHitsImFine Jul 07 '16
I keep getting an osvrClientKit.dll is missing from your computer error while trying to start up the PSMoveCameraCalibration. Any ideas?
1
u/Comfortably4numb Apr 03 '22
Someone plz give me a copy of the files, links are dead
0
u/[deleted] Mar 24 '16
[deleted] — view deleted comment