Skip to content

Commit

Permalink
Fixed data type in demo for OculusTag tracker
Browse files Browse the repository at this point in the history
Summary: The data type of `data_T_cameras` needs to be based on `double` precision.

Reviewed By: ASchneiderMeta

Differential Revision: D59877906

fbshipit-source-id: ae24eea0bef99031fd413b257aa89d3d5b23751c
  • Loading branch information
janherling authored and facebook-github-bot committed Jul 18, 2024
1 parent 9f283e6 commit 9d35df8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ bool OculusTagTrackerWrapper::trackNewFrame(Frame& resultFrame, double& time)

FrameRefs frameRefs;
SharedAnyCameras anyCameras;
HomogenousMatrices4 device_T_cameras;
HomogenousMatricesD4 device_T_cameras;

bool timedOut = false;
if (!Media::FrameMedium::syncedFrames(frameMediumRefs_, frameTimestamp_, frameRefs, anyCameras, 2u /*waitTime*/, &timedOut, &device_T_cameras))
Expand Down

0 comments on commit 9d35df8

Please sign in to comment.