petergu684 / HoloLens2-ResearchMode-Unity

Unity Plugin for using research mode functionality in HoloLens 2. Modified based on HoloLens2ForCV.
MIT License
202 stars 59 forks source link

VLC GetTimeStamp wrong Camera Frame ? #24

Closed rowvn closed 2 years ago

rowvn commented 2 years ago

Not sure, but shouldnt it be:

In *void HL2ResearchMode::SpatialCamerasFrontLoop(HL2ResearchMode pHL2ResearchMode)**

Is: ResearchModeSensorTimestamp timestamp_left, timestamp_right; pLFCameraFrame->GetTimeStamp(&timestamp_left); pLFCameraFrame->GetTimeStamp(&timestamp_right);

Should be: ResearchModeSensorTimestamp timestamp_left, timestamp_right; pLFCameraFrame->GetTimeStamp(&timestamp_left); pRFCameraFrame->GetTimeStamp(&timestamp_right);

petergu684 commented 2 years ago

Haha yes you are right. Just fixed it. Thanks for pointing this out. :)