mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
d/hdk: Adjust timestamp for latency, based on experiments.
This commit is contained in:
parent
82f5a974e3
commit
dc990a8e77
|
@ -125,7 +125,8 @@ hdk_device_get_tracked_pose(struct xrt_device *xdev,
|
|||
out_relation->relation_flags = XRT_SPACE_RELATION_BITMASK_NONE;
|
||||
return;
|
||||
}
|
||||
//! @todo adjust for latency here
|
||||
// Adjusting for latency - 14ms, found empirically.
|
||||
now -= 14000000;
|
||||
*out_timestamp = now;
|
||||
uint8_t *buf = &(buffer[0]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue