View my account

D435i cycle switch ir

Comments

2 comments

  • MartyG

    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 

    1
    Comment actions Permalink
  • Evgeni Raikhel

    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

     

     

    1
    Comment actions Permalink

Please sign in to leave a comment.