mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
d/multi: Use xrt_device_get_tracked_pose function
This commit is contained in:
parent
36a540a764
commit
6f10a20ce0
|
@ -195,7 +195,12 @@ get_view_poses(struct xrt_device *xdev,
|
|||
struct xrt_device *target = d->tracking_override.target;
|
||||
xrt_device_get_view_poses(target, default_eye_relation, at_timestamp_ns, view_count, out_head_relation,
|
||||
out_fovs, out_poses);
|
||||
get_tracked_pose(xdev, XRT_INPUT_GENERIC_HEAD_POSE, at_timestamp_ns, out_head_relation);
|
||||
|
||||
/*
|
||||
* Use xrt_device_ function to be sure it is exactly
|
||||
* like if the state-tracker called this function.
|
||||
*/
|
||||
xrt_device_get_tracked_pose(xdev, XRT_INPUT_GENERIC_HEAD_POSE, at_timestamp_ns, out_head_relation);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
Loading…
Reference in a new issue