Monado OpenXR Runtime
|
WMR and MS HoloLens configuration structures. More...
Go to the source code of this file.
Data Structures | |
struct | wmr_distortion_3K |
struct | wmr_distortion_6KT |
struct | wmr_distortion_eye_config |
struct | wmr_camera_config |
struct | wmr_inertial_sensor_config |
struct | wmr_sensor_transforms_config |
struct | wmr_inertial_sensors_config |
struct | wmr_led_config |
struct | wmr_hmd_config |
struct | wmr_controller_config |
Macros | |
#define | WMR_MAX_CAMERAS 4 |
#define | WMR_MAX_LEDS 40 |
Functions | |
bool | wmr_hmd_config_parse (struct wmr_hmd_config *c, char *json_string, enum u_logging_level log_level) |
bool | wmr_controller_config_parse (struct wmr_controller_config *c, char *json_string, enum u_logging_level log_level) |
void | wmr_config_precompute_transforms (struct wmr_inertial_sensors_config *sensors, struct wmr_distortion_eye_config *eye_params) |
Precompute transforms to convert between OpenXR and WMR coordinate systems. More... | |
WMR and MS HoloLens configuration structures.
void wmr_config_precompute_transforms | ( | struct wmr_inertial_sensors_config * | sensors, |
struct wmr_distortion_eye_config * | eye_params | ||
) |
Precompute transforms to convert between OpenXR and WMR coordinate systems.
OpenXR: X: Right, Y: Up, Z: Backward WMR: X: Right, Y: Down, Z: Forward ┌────────────────────┐ │ OXR WMR │ │ │ │ ▲ y │ │ │ ▲ z │ │ │ x │ x │ │ ├──────► ├──────► │ │ │ │ │ │ ▼ z │ │ │ ▼ y │ └────────────────────┘
References wmr_inertial_sensor_config::pose, and xrt_vec3::XRT_VEC3_ZERO.