Skip to content

Draft: d/wmr: Generalize device geometries. Support slam tracking, and export of device geometry.

nima01 requested to merge nima_model_geometries_temp into main

Creates models of the HMD's geometry, based on its firmware json. Allows export of all device sensor, display and camera relations (in different coordinate frames) to file specifed by WMR_GEOMETRY_EXPORT_PATH env variable. This allows for easy import into Blender for debugging various WMR headsets.

The created geometry models will define the transformantion needed to convert headset specific sample data and poses between WMR-native, Basalt, OpenXR and/or other coordinate space conventions.

Also supports export (to json file) of directional vectors of IMU sensor samples, so the sensor reading can be visualized in the same context and space as the HMD geometry in Blender.

The ultimate purpose of the geometry model is to fix issues such as tilted orientations and other glitches caused by the many variations of sensor/display setup and axis conventions across differnt WMR devices.

Merge request reports