API Interface List
Xvisio SDK Documentation Home Page

IPD Interface


Obtain the Method of IPD Calibration

API.stereo_pdm_calibration fed = XvXRManager.SDK.GetDevice().GetFed();
Ipd = (double)(fed.calibrations[1].extrinsic.translation[0] - fed.calibrations[0].extrinsic.translation[0]);

Note: the unit of IPD here is meter.

Set Glass IPD

XvXRAndroidDevice.updateCalibra(ipdValue);
XvXRManager.SDK.GetDevice().setFedDis(ipdValue);
XvXREye.EDI = 0;

Note: the unit of IPD here is centimeter.


API Interface List
Xvisio SDK Documentation Home Page