The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/wmr: Provide camera orientation to hand tracking

+5 -1
+5 -1
src/xrt/drivers/wmr/wmr_hmd.c
··· 1494 1494 #ifdef XRT_BUILD_DRIVER_HANDTRACKING 1495 1495 //!@todo Turning it off is okay for now, but we should plug metric_radius (or whatever it's called) in, at some 1496 1496 //! point. 1497 - struct t_camera_extra_info extra_camera_info; 1497 + struct t_camera_extra_info extra_camera_info = {0}; 1498 + 1499 + extra_camera_info.views[0].camera_orientation = CAMERA_ORIENTATION_0; 1500 + extra_camera_info.views[1].camera_orientation = CAMERA_ORIENTATION_0; 1501 + 1498 1502 extra_camera_info.views[0].boundary_type = HT_IMAGE_BOUNDARY_NONE; 1499 1503 extra_camera_info.views[1].boundary_type = HT_IMAGE_BOUNDARY_NONE; 1500 1504