Increase tracking frequency to 1000Hz
This commit is contained in:
@@ -73,8 +73,8 @@ void scenes::stream::tracking()
|
|||||||
{device_id::RIGHT_GRIP, application::right_grip()}};
|
{device_id::RIGHT_GRIP, application::right_grip()}};
|
||||||
|
|
||||||
XrSpace view_space = application::view();
|
XrSpace view_space = application::view();
|
||||||
const XrDuration tracking_period = 10'000'000; // Send tracking data every 10ms
|
const XrDuration tracking_period = 1'000'000; // Send tracking data every 1ms
|
||||||
const XrDuration dt = 1'000'000; // Wake up 1ms before measuring the position
|
const XrDuration dt = 100'000; // Wake up 0.1ms before measuring the position
|
||||||
const XrDuration extrapolation_horizon = 1; // 50'000'000;
|
const XrDuration extrapolation_horizon = 1; // 50'000'000;
|
||||||
|
|
||||||
XrTime t0 = instance.now();
|
XrTime t0 = instance.now();
|
||||||
|
|||||||
Reference in New Issue
Block a user