HoloLens2-ResearchMode-Unity icon indicating copy to clipboard operation
HoloLens2-ResearchMode-Unity copied to clipboard

Center point limited to short distance even when long sensor loop is active

Open vbandi opened this issue 4 years ago • 0 comments

When calculating the center point in the long depth sensor loop, the position of the depth center is still limited by depthCamRoi.depthFarClip, which is the far clip of the short sensor.

As a result, the center point is not calculated beyond .8m, even though the long throw sensor sees much further.

Probable fix (will try it later and create a PR if it works): Line 500: if (depth > pHL2ResearchMode->depthCamRoi.depthNearClip && depth < pHL2ResearchMode->depthCamRoi.depthFarClip) should be if (depth > 200)

vbandi avatar Dec 10 '21 11:12 vbandi