{"action":"created","issue":{"url":"https://api.github.com/repos/cboulay/PSMoveService/issues/23","repository_url":"https://api.github.com/repos/cboulay/PSMoveService","labels_url":"https://api.github.com/repos/cboulay/PSMoveService/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/cboulay/PSMoveService/issues/23/comments","events_url":"https://api.github.com/repos/cboulay/PSMoveService/issues/23/events","html_url":"https://github.com/cboulay/PSMoveService/issues/23","id":153174817,"number":23,"title":"Create OpenVR plugin for psmoveservice","user":{"login":"HipsterSloth","id":16793853,"avatar_url":"https://avatars.githubusercontent.com/u/16793853?v=3","gravatar_id":"","url":"https://api.github.com/users/HipsterSloth","html_url":"https://github.com/HipsterSloth","followers_url":"https://api.github.com/users/HipsterSloth/followers","following_url":"https://api.github.com/users/HipsterSloth/following{/other_user}","gists_url":"https://api.github.com/users/HipsterSloth/gists{/gist_id}","starred_url":"https://api.github.com/users/HipsterSloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HipsterSloth/subscriptions","organizations_url":"https://api.github.com/users/HipsterSloth/orgs","repos_url":"https://api.github.com/users/HipsterSloth/repos","events_url":"https://api.github.com/users/HipsterSloth/events{/privacy}","received_events_url":"https://api.github.com/users/HipsterSloth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cboulay/PSMoveService/labels/in%20progress","name":"in progress","color":"fef2c0"},{"url":"https://api.github.com/repos/cboulay/PSMoveService/labels/task","name":"task","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-05T06:20:43Z","updated_at":"2016-06-09T23:10:19Z","closed_at":null,"body":"In order to make the PSMoveService broadly usable I think it makes the most sense to create an OpenVR plugin. This will expose the psmove controllers and the ps3eye trackers to SteamVR. Fortunately Valve has already provided a reference driver for the Razer Hydra so it should be pretty straight forward to adapt a plugin that connects to PSMoveService instead.\r\n\r\n  * Implement `vr::IServerTrackedDeviceProvider`\r\n    + Owner if the ClientPSMoveAPI instance\r\n  * Implement `vr::IClientTrackedDeviceProvider`\r\n    + Mostly no-ops on stuff, related to HMD operation\r\n    + See [vr::ITrackedDeviceServerDriver-Overview](https://github.com/ValveSoftware/openvr/wiki/IClientTrackedDeviceProvider_Overview)    \r\n  * Implement `vr::IServerTrackedDeviceProvider`\r\n    + Does the bulk of the work updating and posting data about the controllers\r\n    + See [vr::ITrackedDeviceServerDriver-Overview](https://github.com/ValveSoftware/openvr/wiki/vr::ITrackedDeviceServerDriver-Overview)"},"comment":{"url":"https://api.github.com/repos/cboulay/PSMoveService/issues/comments/225053491","html_url":"https://github.com/cboulay/PSMoveService/issues/23#issuecomment-225053491","issue_url":"https://api.github.com/repos/cboulay/PSMoveService/issues/23","id":225053491,"user":{"login":"HipsterSloth","id":16793853,"avatar_url":"https://avatars.githubusercontent.com/u/16793853?v=3","gravatar_id":"","url":"https://api.github.com/users/HipsterSloth","html_url":"https://github.com/HipsterSloth","followers_url":"https://api.github.com/users/HipsterSloth/followers","following_url":"https://api.github.com/users/HipsterSloth/following{/other_user}","gists_url":"https://api.github.com/users/HipsterSloth/gists{/gist_id}","starred_url":"https://api.github.com/users/HipsterSloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HipsterSloth/subscriptions","organizations_url":"https://api.github.com/users/HipsterSloth/orgs","repos_url":"https://api.github.com/users/HipsterSloth/repos","events_url":"https://api.github.com/users/HipsterSloth/events{/privacy}","received_events_url":"https://api.github.com/users/HipsterSloth/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T23:10:19Z","updated_at":"2016-06-09T23:10:19Z","body":"@zelmon64 Good catch with the CLEye dll. I updated the cmake script to copy the dll into the win32/bin folder when the \"install\" project is built. I also updated the steamvr uninstall script to make the remove driver call to steamvr. I'm not sure the the registered paths are stored. I would assume in `C:\\Program Files (x86)\\Steam\\config` but the steamvr.vrsettings file doesn't appear to have any entries in there. The complaint about SteamVR_SetDriverVars.bat is not a problem. It's just me not knowing how to make a batch file that doesn't complain when there is no file to delete.\r\n\r\nAs for the drift issue, your magnetometer settings look totally fine. This makes me think I need to adjust the orientation filter to better detect when the Magnetometer/Accelerometer derived orientation deviates too far from the integrated Gyroscope orientation I need to crank up the blending weight to compensate for the drift. This probably gets aggravated by sharp controller movements since the accelerometer is used to tell where gravity is pointed, but under other accelerations it throws this movement off. Ideally I should detect when the accelerometer is getting spiked and only use gyros in that case.\r\n\r\nAnd please don't feel obligated to any time commitments :). I appreciate all the time you've given so far to this. Enjoy your weekend!"}}
{"actor":{"display_login":"HipsterSloth"}}