"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Hololens 2 Height Detection

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

Hey there,

 

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