Topic locked

Hololens 2 Height Detection

January 18, 2022 - 11:05am #2

Hi,

Are there any suggestions on how to detect the Hololens 2's distance from the floor?

Microsoft's Spatial awareness/mapping solutions seem to be a bit of an overkill, as they either scan the environment and reconstruct it in 3D, which you probably then need to then aim and raycast at the ground and extract the height from that distance, or have the mapping system label your real-world environment and then query for where the ground is.

There used to be simpler solution to detect the ground for the Hololens 1, but the functions required for this to work in the Mixed Reality Toolkit are now deprecated.

 

Using Vuforia's Ground Plane Detection seems like a good solution, but it is currently not supported on the Hololens 2. Are there any plans to support this in the future?

If not, aside from starting the Hololens on the floor and then putting it on (to detect height change) or using an image target placed on the floor and using that to detect its distance from the Hololens, are there any suggestions on how to detect the Hololens' current height from the ground?

 

Thank you,

Ivan

Hololens 2 Height Detection

January 21, 2022 - 3:45am #1

Hey there,

 

I feel a ray-cast and reconstructed 3D environment would be a good solution. Why do you think that might be overkill?

Alternatively you can also provide community feedback on supporting the ground plane on Hololens: https://developer.vuforia.com/forum/community-feedback/features-tools

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked