-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SteamVR Integration? #8
Comments
I have not tried to connect it to SteamVR. The linked code seems to be a version of the SteamVR plugin for acting as an OSVR client, which is one of the layers needed to use OSVR drivers such as nolo-osvr with SteamVR. The upstream plugin would be https://github.com/OSVR/SteamVR-OSVR - someone should check if the two handle tracked devices differently. There shouldn't be a need for the SteamVR-OSVR translator (which is an OSVR client and OpenVR plugin/driver) to have Nolo specifics, except maybe for the vibration which OSVR doesn't seem to have a protocol for. |
I have contacted one of the OSVR developers and here is what he had to say in regards to steamvr:
|
Well, that's a tiny bit of the story. /me/head is one of the names provided by nolo-osvr, pointing to the Headset Marker. Headsets like HDK2 will also provide other data sources for it, like the camera tracking and builtin gyros, and I think the multiserver plugin would be what merges those. For SteamVR you likely want the hands too, similar to how you'd use a Razer Hydra; nolo-osvr provides names /me/hands/{left,right} based on those I found in the Vive driver descriptors. You'll also still need some offset for where your headset marker is actually mounted. Currently the nolo-osvr plugin doesn't have any configuration of its own, but an OSVR configuration can still remap them. |
I was able to get the headset tracker working in SteamVR. Does this driver currently support the controllers? If so, how do I sync those? |
That's great! The nolo-osvr plugin does support the controllers. Associating them with the base station and headset marker should be a one time thing (set up with the buttons on them, instructions at https://www.nolovr.com/pairing-en ). They show up in the OSVR tracker viewer, so I'm pretty sure I got the names right too. So getting them to work in SteamVR also should be a question of configuring SteamVR-OSVR, possibly followed by adjusting the edge positions for the trackpad. https://github.com/betavr/SteamVR-OSVR/wiki has some instructions regarding a similar setup using Hydra controllers with SteamVR through OSVR. While that's been replaced by a native OpenVR driver, the OSVR method would still apply for us. |
I was able to pair the controllers so that the lights indicate green. However, the controllers still do not register in SteamVR. I looked through the source a bit from the hydra, the only thing I found that I thought might be interesting was the steamvr settings. Its the following. However, I don't think this is applicable.
|
You can try checking with https://github.com/OSVR/OSVR-Tracker-Viewer that they do track in OSVR. The next step is figuring out what SteamVR-OSVR translates; it might be skipping over them for some reason. |
The issue is with the SteamVR OSVR plugin. I have spoken to one of the devs and have updated the issue: OSVR/SteamVR-OSVR#30 |
@lonetech is there any other way for me to test nolovr other than the OSVR-Tracker-Viewer. I have issues running OSVR-Tracker-Viewer (basically freezes the openGL window as soon as it starts up). |
@Conzar One way to test is to install the latest version of Unity, install the Unity-OSVR plugin, then run some of the sample scenes. I know at least one of those includes visual effects tied to the hand paths. If you'd prefer not to go through the hassle of installing Unity (it is very easy, though) |
@Conzar and @lonetech There has been some work on getting other controllers, such as PS Move, to show up in SteamVR via OSVR. Minotaurus0 uploaded all of his work here: https://www.reddit.com/r/OSVR/comments/4bqyyx/steamvr_controller_osvr_controller_wiimotepsmove/ In fact there was even an un-merged pull request a long time ago: Here is some different software for Kinect that also allegedly worked with SteamVR via OSVR at one point, although I don't know if it was for the controllers or just the head: I don't really have the knowledge or dev environment to be much help on this, but I hope this information is useful to you two. I'll post again if I find more potentially helpful stuff! |
Also, there is some source code in the Nolo-Osvr-Windows driver repo. Might be useful! https://github.com/NOLOVR/NOLO-Others/tree/master/NOLO_OSVR_SteamvrDriver/Source_Code |
Thanks nanospork, I will have a look at PR#50. That should help me with my fork to find any differences. My fork is already 'up 2 date' with master so its probably easier for me to just pick out any changes that they made that I think might work. |
FYI, there doesn't seem to be any differences between PR#50 and my fork except that PR#50 is outdated. My fork is using the latest changes in the SteamVR-OSVR master branch. PR#50 forked godbyk's original work which of course my fork uses godbyk's too. I think the reason the PR#50 was never accepted was due to the changes to the master branch code which makes PR#50 not work anymore. I have also looked at LYRobotix github page already. See my original post :) |
I just found this code by Nolo for the osvr-steamvr plugin. I just was wondering if you have seen it and think it might be helpful.
https://github.com/NOLOVR/NOLO-Others/tree/master/NOLO_OSVR_SteamvrDriver
Is this working already with SteamVR?
The text was updated successfully, but these errors were encountered: