The open source OpenXR runtime
0
fork

Configure Feed

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

d/twrap: define twrap_hmd_correct_pose_from_basalt only if XRT_FEATURE_SLAM

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2140>

+2
+2
src/xrt/drivers/twrap/twrap_slam.c
··· 72 72 return (struct slam_device *)xdev; 73 73 } 74 74 75 + #ifdef XRT_FEATURE_SLAM 75 76 static struct xrt_pose 76 77 twrap_hmd_correct_pose_from_basalt(struct xrt_pose pose) 77 78 { ··· 81 82 pose.orientation.z = -pose.orientation.z; 82 83 return pose; 83 84 } 85 + #endif 84 86 85 87 static void 86 88 twrap_slam_get_tracked_pose(struct xrt_device *xdev,