jakaskerl This script has never worked for me, that's why I made a custom calibration process.
I tried again still, in the tof_calib
branch, with a fresh virtual environment and I have to iteratively comment out / edit / add things in the script to move on with the process. For example, for some reason, these parameters don't exist in this branch
tof_config.enablePhaseShuffleTemporalFilter = True
tof_config.enableFPPNCorrection = True
tof_config.enableOpticalCorrection = True
tof_config.enableWiggleCorrection = True
tof_config.enableTemperatureCorrection = True
tof_config.phaseUnwrappingLevel = 4
tof_config.phaseUnwrapErrorThreshold = 1000
while they exist here 2.28.0.0.dev0+76294530fd0bf91b09469490a1d14871c374630a
.
Same for intensity
, which means I'm stuck here luxonis/depthaiblob/28f2bd654923e24019f00248cf03925866b107af/calibrate.py#L608
So I recorded the images and computed the calibration using my usual process and I still have alignement issues.
This is where I flash the calibration : pollen-robotics/pollen-visionblob/01f1901a95f44e052b2953e4453247c6d7aa6b47/pollen_vision/pollen_vision/camera_wrappers/depthai/wrapper.py#L260
Now I get the intrinsics and extrinsics from my calibration process
It seems better than before :
But there is still a misalign when my arm is closer for example
Now, when I undistort the rgb first
If doesn't change much because most of the distortion is on the edge of the FOV and the ToF's FOV is is much smaller than our fisheye lenses.
Also, the ToF can get pretty noisy sometimes (as you can see on top of the image below):
Do you have any advice ?
Thanks