Hello,
I am having some problems similar to the original post in this link, but didn't want to derail the current discussion so I'm making this post. My ToF sensor is outputting values that are not aligned well with reality. See some measurements I took with a measuring tape vs the ToF sensor below.
I am using an OAK FFC 4P board with an IMX577 on CAM_A and the ToF on CAM_C. I have calibrated the pair several times, and tried different ToF modules, and get the same rough results always. My calibration had good error, and is attached at the bottom of this post. My depthai version is 2.28.0.0.dev0+76294530fd0bf91b09469490a1d14871c374630a
.
Any pointers or things to try would be appreciated! Thanks.
{
"batchName": "",
"batchTime": 1700737592,
"boardConf": "IR-C00M00-00",
"boardCustom": "",
"boardName": "DD2090",
"boardOptions": 0,
"boardRev": "R7M1E7",
"cameraData": [
[
0,
{
"cameraType": 0,
"distortionCoeff": [
13.725380897521973,
-27.1486873626709,
0.00014784393715672195,
0.00025289796758443117,
56.11801528930664,
13.626705169677734,
-26.974199295043945,
56.287872314453125,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"specTranslation": {
"x": -0.0,
"y": -0.0,
"z": -0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"height": 3040,
"intrinsicMatrix": [
[
2526.64208984375,
0.0,
2089.663330078125
],
[
0.0,
2524.888427734375,
1464.1832275390625
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 75.0,
"width": 4056
}
],
[
2,
{
"cameraType": 0,
"distortionCoeff": [
-9.26715087890625,
29.49131202697754,
-0.00011109501792816445,
-0.0006627050461247563,
-15.05420207977295,
-9.26780891418457,
29.405651092529297,
-14.602873802185059,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9998121857643127,
-0.01154649443924427,
-0.015566435642540455
],
[
0.011661147698760033,
0.9999054074287415,
0.007294856943190098
],
[
0.015480732545256615,
-0.007475009188055992,
0.9998522400856018
]
],
"specTranslation": {
"x": -1.996000051498413,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 0,
"translation": {
"x": -3.045868158340454,
"y": -0.02484941855072975,
"z": -1.2451037168502808
}
},
"height": 480,
"intrinsicMatrix": [
[
468.7503662109375,
0.0,
319.3566589355469
],
[
0.0,
468.7717590332031,
234.0368194580078
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 70.0,
"width": 640
}
]
],
"deviceName": "",
"hardwareConf": "F0-FV00-BC000",
"housingExtrinsics": {
"rotationMatrix": [],
"specTranslation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"imuExtrinsics": {
"rotationMatrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"specTranslation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"miscellaneousData": [],
"productName": "OAK-FFC-4P",
"stereoEnableDistortionCorrection": false,
"stereoRectificationData": {
"leftCameraSocket": 0,
"rectifiedRotationLeft": [
[
0.925619900226593,
0.00755158020183444,
0.37837907671928406
],
[
-0.006574939005076885,
0.9999709129333496,
-0.0038730097003281116
],
[
-0.3783973157405853,
0.0010971155716106296,
0.9256426095962524
]
],
"rectifiedRotationRight": [
[
0.931391716003418,
-0.00596518674865365,
0.3639696538448334
],
[
0.005027147009968758,
0.999981164932251,
0.003524555591866374
],
[
-0.36398380994796753,
-0.001453012810088694,
0.9314041137695313
]
],
"rightCameraSocket": 2
},
"stereoUseSpecTranslation": true,
"version": 7,
"verticalCameraSocket": -1
}