- Edited
I recently started getting the following warning from my OAK-D Pro W:
[18443010E1217F0E00] [1.2.4] [1.311] [system] [warning] Capping IR dot projector brightness to 1%
After checking the documentation, I realized that the problem was that I replaced a call to the deprecated Device
method setIrLaserDotProjectorBrightness()
with setIrLaserDotProjectorIntensity()
, but didn't account for the change in input range — the former accepted a milli-amper value between 0 and 1200, while the latter accepts an intensity value between 0 and 1. Updating my code to constrain intensity values to the range [0, 1]
silenced the warning.
Posting here for reference in case someone else stumbles on the same problem.