d/rs: Tracking origin probably should have an identity pose

This commit is contained in:
Moses Turner 2022-03-15 20:12:38 -05:00
parent b2ccc8419c
commit e4805c07e2

View file

@ -472,6 +472,7 @@ rs_ddev_create(int device_idx)
rs->base.destroy = rs_ddev_destroy;
rs->base.name = XRT_DEVICE_REALSENSE;
rs->base.tracking_origin->type = XRT_TRACKING_TYPE_EXTERNAL_SLAM;
rs->base.tracking_origin->offset = (struct xrt_pose)XRT_POSE_IDENTITY;
// Print name.
snprintf(rs->base.str, XRT_DEVICE_NAME_LEN, "Intel RealSense Device-SLAM");