Skip to content

Commit

Permalink
inertial node ir fix (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam authored Apr 21, 2023
1 parent 1cd447a commit c292264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depthai_examples/src/stereo_inertial_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ int main(int argc, char** argv) {
width = 640;
height = 480;
}

if(boardName.find("PRO") != std::string::npos) {
std::vector<std::tuple<std::string, int, int>> irDrivers = device->getIrDrivers();
if(!irDrivers.empty()) {
if(enableDotProjector) {
device->setIrLaserDotProjectorBrightness(dotProjectormA);
}
Expand Down

0 comments on commit c292264

Please sign in to comment.