Timestamps/Eye tracking in Hololens 2

Khan, R.A. (Rozemun) 1 Reputation point
2022-12-20T15:12:35.21+00:00

Hello,

I have been using the MRTK package for the purpose of using the eye-tracking feature in Microsoft hololens 2. It is imperative to have accurate timestamps for gaze-based measures. So for the attached image it is showing the timestamps as dt in ms… I am not understanding why the values in ms keep increasing per row… It is not making sense/does not seem like an accurate timestamp or measure. Would anyone know how to optimize this column to get correct timestamps or whether there might be an issue in configuration that is leading to these increasing values?

This is what it looks like a bit:
UserId, SessionType, dt in ms, HeadOrigin.x, HeadOrigin.y, HeadOrigin.z, HeadDir.x, HeadDir.y, HeadDir.z, EyeOrigin.x,
tester, Session00, 9.7783, 0.1680879, 0.2498658, 0.8272444, 0, 0, 0, 0.1710101, 0.2455685, 0.8367639, 0.05120622,
tester, Session00, 35.0204, 0.1681334, 0.2498621, 0.8270898, 0, 0, 0, 0.1709489, 0.245572, 0.8367249, 0.05134779,
tester, Session00, 49.796, 0.1680565, 0.2499707, 0.8269751, 0, 0, 0, 0.1708769, 0.2455774, 0.8366824, 0.05147325,
tester, Session00, 62.6465, 0.1680334, 0.2500312, 0.8268728, 0, 0, 0, 0.1708067, 0.2455832, 0.8366396, 0.05158889,
tester, Session00, 69.7378, 0.167974, 0.2504369, 0.8264848, 0, 0, 0, 0.1707399, 0.2455907, 0.8365951, 0.05169488,
tester, Session00, 90.0078, 0.1678707, 0.250632, 0.8261859, 0, 0, 0, 0.1706859, 0.2456022, 0.8365454, 0.05174301,
tester, Session00, 109.7245, 0.1678509, 0.2506264, 0.8262096, 0, 0, 0, 0.1706337, 0.2456154, 0.8364946, 0.0517792,
tester, Session00, 119.8429, 0.1679612, 0.2505262, 0.8262923, 0, 0, 0, 0.1705758, 0.2456323, 0.8364434, 0.05181085,
tester, Session00, 140.0372, 0.1680796, 0.2503369, 0.8263314, 0, 0, 0, 0.1705205, 0.2456521, 0.8363898, 0.05181571,

Advice regarding this problem is greatly appreciated
Best,
Rozemun

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
381 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,081 Reputation points Microsoft Vendor
    2023-01-09T08:55:43.793+00:00

    Hello, Welcome to Microsoft Q&A,

    In this sample, milliseconds are used to calculate the interval during replay. For details, you can check DemoVisualizer/Scripts/UserInputPlayback.cs. If you want to add the recorded content, you only need to customize the Header and specific Data in DemoVisualizer/Scripts/LogStructureEyeGaze.cs.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more