diff --git a/depthai_examples/src/stereo_inertial_publisher.cpp b/depthai_examples/src/stereo_inertial_publisher.cpp index 91cb2047..7a0cb155 100644 --- a/depthai_examples/src/stereo_inertial_publisher.cpp +++ b/depthai_examples/src/stereo_inertial_publisher.cpp @@ -479,8 +479,8 @@ int main(int argc, char** argv) { width = 640; height = 480; } - - if(boardName.find("PRO") != std::string::npos) { + std::vector> irDrivers = device->getIrDrivers(); + if(!irDrivers.empty()) { if(enableDotProjector) { device->setIrLaserDotProjectorBrightness(dotProjectormA); }