OpenXR-SDK-Source icon indicating copy to clipboard operation
OpenXR-SDK-Source copied to clipboard

offset between Unity's and OpenXR's coordinate system

Open Birkenpapier opened this issue 1 year ago • 2 comments

Hello everyone,

while tinkering with the ResearchMode API for the HoloLens 2 other developers and I encountered and offset of ~5 cm. between both of the coordinate systems.

This issue can be reproduced on several ways:

  • one way is to create the point cloud directly on dll-level and then visualize it inside Unity like here: https://github.com/jdibenes/hl2ss
  • the other way is to get the scene coordinate system during runtime in Unity and then pass it to an WinRT extension to create the point cloud for the visualization in Unity afterwards: https://github.com/petergu684/HoloLens2-ResearchMode-Unity

More detailed problem descriptions can be found

  • here: https://github.com/petergu684/HoloLens2-ResearchMode-Unity/issues/52#issuecomment-1488583504
  • and here: https://github.com/jdibenes/hl2ss/issues/27#issuecomment-1488682682

Is this an/a known issue/bug and if so is there a workaround to align both coordinate systems? If this is not a bug may I ask for the correct way to align both coordinate systems?

Any help is deeply appreciated!

Thanks to anyone in advance and BR,

Birkenpapier

Birkenpapier avatar Mar 29 '23 15:03 Birkenpapier