diff --git a/depthai_ros_driver/src/camera.cpp b/depthai_ros_driver/src/camera.cpp index 62710869..f8c36b93 100644 --- a/depthai_ros_driver/src/camera.cpp +++ b/depthai_ros_driver/src/camera.cpp @@ -288,15 +288,13 @@ void Camera::setIR() { if(camRunning && enableIR && !device->getIrDrivers().empty()) { float laserdotIntensity = float(laserDotBrightness); if(laserdotIntensity > 1.0) { - laserdotIntensity = laserdotIntensity / 1200.0; + laserdotIntensity = laserdotIntensity / 1200.0; } - ROS_INFO("Setting IR laser dot intensity to: %f", laserdotIntensity); device->setIrLaserDotProjectorIntensity(laserdotIntensity); float floodlightIntensity = float(floodlightBrighness); if(floodlightIntensity > 1.0) { - floodlightIntensity = floodlightIntensity / 1500.0; + floodlightIntensity = floodlightIntensity / 1500.0; } - ROS_INFO("Setting IR floodlight intensity to: %f", floodlightIntensity); device->setIrFloodLightIntensity(floodlightIntensity); } }