D435i cycle switch ir
I want to control the output image of the D435i by controlling the opening and closing of ir, such as opening the laser emitter ir in odd frames, obtaining the image of the infrared camera with speckle, and turning off the laser emitter ir in even frames to obtain a normal infrared camera. image. However, after my actual measurement, the image I obtained was not completely turned on and off according to the parity standard I set. I suspect that it is due to the delay of the ir hardware switch, but I am not sure whether it is this problem? Can you achieve this in my way? If not, is it due to hardware latency issues?


-
I would not recommend constantly turning the laser on and off, as it is not likely to be healthy for the long-term lifespan of the laser. There will also be, as you suggested, a time gap between turning off the laser and turning it back on.
A better solution may be to vary the Laser Power setting, since reducing laser power reduces the visibility of the dot pattern. That way, you could keep the projector active all the time and change the visibility of the dot pattern from practically invisible (something just above '0', so the laser is kept enabled) to fully visible very quickly. The link below contains a code snippet under the 'Librealsense2' heading for varying the Laser Power value on a 400 Series camera.
https://github.com/IntelRealSense/librealsense/wiki/API-How-To#controlling-the-laser
-
It is possible that this feature has already implemented https://github.com/IntelRealSense/librealsense/pull/3066 for D435i. Note the minimal FW version required - 5.12.0
Please sign in to leave a comment.
Comments
2 comments