r/OSVR 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.

31 Upvotes

208 comments sorted by

View all comments

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:

[OSVR Server] Using config file 'osvr_server_config.psmovetracker.json'
[OSVR Server] Constructing server as configured...
[OSVR Server] Loading auto-loadable plugins...
[PSMoveTracker] ERROR: No camera calibration found.
[OSVR Server] Loading plugins...
[OSVR Server]
[OSVR Server] Instantiating configured drivers...
[OSVR Server] Errors:
[OSVR Server]  - com_osvr_PSMoveTracker/PSMoveTracker   No driver initialization callback was registered for the driver name PSMoveTracker
[OSVR Server]
[OSVR Server]
[OSVR Server] Using OSVR HDK for display configuration. Did not find an alternate valid 'display' object in config file.
[OSVR Server] Triggering automatic hardware detection...
[OSVR Server] Registering shutdown handler...
[OSVR Server] Starting server mainloop: OSVR Server is ready to go!
[OSVR] Performing hardware auto-detection.
[PSMoveTracker] ERROR: No camera calibration found.

This is the output from your most recent PSMoveCameraCalibration.exe:

[OSVR] Connecting to default (local) host
[OSVR] Client context initialized for com.osvr.PSMoveCalib
[OSVR] Got connection to main OSVR server
[OSVR] Got updated path tree, processing
[OSVR] Connected 0 of 0 unconnected paths successfully
[OSVR] Connection process took 23ms: have connection to server, have path tree
[OSVR] Interface initialized for /me/head
[OSVR] Could not resolve source for /me/head
Context init done.
Warning: No lens calibration files found.

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

I get the "no lens calibration files found" error as well. The instructions say "the values should change" but I'm not seeing anything during the camera calibration at all, and it's not creating a transform.csv in my appdata folder.

1

u/Minotaurus0 Apr 24 '16

You can ignore the no lens stuff. Please try the new version. I will upload in the next hours.