HipsterSloth / PSMoveSteamVRBridge

PSMoveSteamVRBridge is a client for PSMoveService that computes the pose and button data of PSMove/DualShock4/PSNavi controllers and routes it into SteamVR.
Apache License 2.0
144 stars 47 forks source link

psmove service/camera/wands not showing in steam vr #36

Open thekillaklaws opened 7 years ago

thekillaklaws commented 7 years ago

hi all i have tried to do the install of psmove steam bridge and cant seem to ge the cameras and ps wands to show in steam vr ? , i have 3 camera's 2 wands all working well in psmove service but when it comes to loading steam vr i get nothing also have done fresh wipe of windows 10 , i have added the line of allow multiple drivers etc ? Also i am using a Ps Vr Hmd

not quite sure what im doing wrong and have tried a few times and watched videos of people installing am now lost ?

Steam Vr bridge 1.4.0 PSMoveService v0.9-alpha 8.8.0 (protocol v0.9-alpha 8.7.0)

Cretkensigh commented 7 years ago

Try unistalling steamvr and redownloading it. And also try psmovesteamvrbrige 1.42 i had the exact same trouble but only 8.2.0 on the psmove service would pair with steamvr. Took a freash install of everything including oculus software etc for me but just keep trying it clearly is working just got a hiccup somewhere.

thekillaklaws commented 7 years ago

hi ya i tried that and it works thank you , done all calibrations but now trying to work out how i can make the controllers stay in front of me instead of straying into different directions lol

Cretkensigh commented 7 years ago

Stay in front of you? As in movement or rotation? So your using a psvr hmd. Howd that look?? Im only running a dk1 on 1200x800 split between both eyes but with my underpowered rig's 760gtx it works perfectly fine.

thekillaklaws commented 7 years ago

The movement of the controllers is great they don't jitter at all just move away from me and then they start changing directions , once reset there sort of in front of me but the minute I turn to start shooting a robot ( space pirate trainer ) the controllers don't seem to stay with the headset but I'm not using a controller on top of the headset for positional tracking (not sure if this makes a big difference?), the psvr headset is great doubled with super sampling works like a treat not blurry at all I'm running it on a 980ti .

Cretkensigh commented 7 years ago

interesting, I too am not using a bulb tracker (kniect360+drivers4vr) and everything works, but the hand tracking does feel bit off for me too, like it's too far to the right by afew inches. only running 2 cameras until I get get some active cables. when your controller bug out is it in a certain direction? like you reset them and there fine until you try rotate them one way and then boom they're completely out of whack.

This was happening to me but it turned out one of my controllers had a bad magnetometer :/

thekillaklaws commented 7 years ago

Yea that's it I reset them then move and there total out of sync one is turning one way and the other a opposite direction , the controllers are fairly new as they have been used with the ps4 vr and work well

thekillaklaws commented 7 years ago

hi i have tried again and basically i look through the hmd the ps move wands are there in front of me ok but say i look left the guns are totaly out of sync they dont seem to follow me correctly and then sometimes the guns twist round and crazy things i am constantly pressing start and select which doesnt help much ? i may try setting one up as positional tracking for the hmd to see if it makes a difference .

Cretkensigh commented 7 years ago

In psmove config tool when your testing the calibration pose with both controller at the same time. Have them infront of you both up right facing there normal game play way.

Without turning your head rotate them both left and right foward and back like joysticks pivoting in place. I I ---> / / ---> I I ---> \ \

If one doesnt follow correctly id say bad magnetometer or atleast that was my experience.

And yeah i i know what you mean in space pirate trainer when ever you the play rotatrs left or right it dosent follow the way it feels it should. Maybe just the issue with the tech?? Ibe never used a vive or cv1 with touch so ivr got nothing to benchmark motion tracked controls in vr :/

thekillaklaws commented 6 years ago

hi ya yea i tried that and the option for magnetometer is disabled but i think with the newer controllers you cant alter the setting , i did try what you said and all seems ok . i am pretty sure its to do with the hmd not being able to positional track and now having trouble with the Vr settings file not keeping info saved for Free pie this is my settings file.

{ "camera": { "enableCamera": false, "enableCameraForCollisionBounds": false, "enableCameraForRoomView": false, "enableCameraInDashboard": false }, "collisionBounds": { "CollisionBoundsStyle": 4 }, "jsonid": "vrsettings", "keyboard": { "TutorialCompletions": 1 }, "perfcheck": { "heuristicActive": true }, "psmove_settings": { "disable_alignment_gesture": true, "psmove_extend_z": 0.075000002980232239, "psmove_filter_hmd_serial": "e0:ae:5e:cd:4e:75" }, "steamvr": { "activateMultipleDrivers": true }, "version": "1", "psmove": { "ps": "system", "move": "touchpad", "trigger": "trigger", "triangle": "application_menu", "square": "grip", "circle": "a", "cross": "button_8", "select": "button_9", "start": "button_10", "rumble_suppressed": false, "use_spatial_offset_after_touchpad_press_as_touchpad_axis": true, "use_orientation_in_alignment": false } }

thekillaklaws commented 6 years ago

i did notice a massive difference reconfiguring the camera's from videos from this person https://www.youtube.com/watch?v=SYhje06EJUs

thekillaklaws commented 6 years ago

so far tracking is stable just alignment with ps move wands vs my own view point is totaly off but stable when i reset the wands infront of the ps vr hmd the guns would be nearly correct but once i move either gun the weapons feel as though there moving very far away from my position ? and also slightly twisted ?

Cretkensigh commented 6 years ago

"psmove_extend_z": 0.075000002980232239

That line there, does that dictate the position of controller/hmd?? Is it possible to shift either of them along any axis? Say the hmd along the z axis moving it back abit??

Cretkensigh commented 6 years ago

And quick question what version of psmove service or steamvrbridge did you end up using?

thekillaklaws commented 6 years ago

Controller Model Offsets

There are some game where you want to offset the controller position. This can happen in particular for games where you need one controller to get close to another controller. The most common case is to extend the controller position along the controllers +Y axis like so:

[[images/ControllerExtendY.png]] The other case is extending the controller along the +Z axis like so:

[[images/ControllerExtendZ.jpg]] These can be done with the psmove_extend_y and psmove_extend_z values in the psmove_settings section. Units are in meters.

"psmove_settings" : { "psmove_extend_y" : 0.05 "psmove_extend_z" : 0.01 },

thekillaklaws commented 6 years ago

I'm using the latest steam vr bridge and ps move service 15

thekillaklaws commented 6 years ago

I am struggling to get the code to work but will keep trying

deepspacedaz commented 6 years ago

My viirtual HMD will not work in steam. But does in ps move service test.