psmoveservice / PSMoveService

A background service that communicates with the psmove and stores pose and button data.
Apache License 2.0
591 stars 148 forks source link

Gain and Exposure camera settings don't wrap correctly #109

Open pearce31 opened 8 years ago

pearce31 commented 8 years ago

Release 4.5 move models in steam vr are stuck together at the bulbs

HipsterSloth commented 8 years ago

I think this might be related to Issue #94. There was a recent change to SteamVR that affects hand controller roles that I think is causing this issue for some people. Would you mind giving this custom build of psmoveservice a try: https://drive.google.com/open?id=0B5GgUbBXlQ1ua252U3dfdGV6NUk. And make sure to re-install the steamvr driver when you try this custom build out (since the potential fix is in the steamvr plugin not the service).

pearce31 commented 8 years ago

OK will do

zelmon64 commented 8 years ago

It could also be a masking problem. If the cyan mask is actually looking at magenta, or visa versa, this would happen. Might be worth a quick check.

HipsterSloth commented 8 years ago

Oh that is a great point actually @zelmon64! I think I've seen something like that in the past when the lighting conditions weren't great in the room I was testing in. Enough of the 1st controllers color bled through into the second colors filter that it picked it up the 1st controller's bulb for the second controller.

pearce31 commented 8 years ago

How do you make sure the cyan mask is looking at cyan vice versa?

pearce31 commented 8 years ago

I did the calibrations with little light is that good or bad?

pearce31 commented 8 years ago

So you can't show magenta move when you are using cyan in tool? If so that's why. I showed both at same color.

pearce31 commented 8 years ago

Are both controllers supposed to be lit when first using tools. Because only the one was lit.

zelmon64 commented 8 years ago

@pearce31 The colour calibration is only done with the first controller. There are plans to enable the other controllers to ensure there's no cross-talk. For the moment you can decrease the three range values to their minimum suitable tolerance.

If you didn't know, the short cut to setting the values is to right click on where the PSMove orb is shown on the live camera feed.

pearce31 commented 8 years ago

Sorry really confused I don't know where the info gets sent when right clicking bulb. Where do I enter the info?

zelmon64 commented 8 years ago

@pearce31 Have you gone through this wiki page? When right-clicking the orb it sets the values in the Controller Color section. The three range values are also in that part of the window. Don't forget to save.

pearce31 commented 8 years ago

Yes but don't understand the complete process to do on step 4

pearce31 commented 8 years ago

If its just to only right click the bulb I've done that

zelmon64 commented 8 years ago

If it's done correctly you should then be able to see the orb with the masked Video Filter Mode. You can then manually reduce the range values.

pearce31 commented 8 years ago

Yes the bulb is filled in in masked mode. But bulbs are stuck together in steam vr inside hmd

zelmon64 commented 8 years ago

Yes, that is why I am suggesting to minimize the range values. Have you tried that yet?

zelmon64 commented 8 years ago

Alternatively, if you turn a PSMove off then back on while PSMoveService is running, it will reconnect as a different controller number and therefore a different colour.

pearce31 commented 8 years ago

OK thanks appreciate the help I will try and write back.

pearce31 commented 8 years ago

theres no issue with the service. i was making a stupid mistake the whole time. ps move service is awesome. now just need osvr tracker camera update to make it work great without the drift and jumpiness.

HipsterSloth commented 8 years ago

There are no stupid mistakes here, only valuable lessons to record in the wiki :). If you don't mind me asking, what was the mistake? If it was caused by a usability issue i'd love to hear about it so that we can make the tool easier to use.

pearce31 commented 8 years ago

when i was adjusting the gain and exposure i thought when everything got to the brightest then went back to the darkest that it was completely looping. i didnt even realise it wasnt. it was just increasing more and more and i was putting the gain and exposure way too high which caused the problem.

HipsterSloth commented 8 years ago

Ah! That is definitely a bug on our part. It should loop those values. I will update the issue title and re-label this a bug.

pearce31 commented 8 years ago

glad to help. great work your doing. thanks so much! keep it up!

pearce31 commented 8 years ago

ok. so i checked again. and exposure is looping correctly but gain is the one that keeps increasing in values and this is in the 4.5.1 build you posted here from drive.