diff --git a/README.md b/README.md index 5ff260c3..de9b00c1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Depthai ROS Repository Hi and welcome to the main depthai-ros respository! Here you can find ROS related code for OAK cameras from Luxonis. Don't have one? You can get them [here!](https://shop.luxonis.com/) -You can find the newest documentation [here](https://docs-beta.luxonis.com/develop/ros/depthai-ros-intro/). \ No newline at end of file +You can find the newest documentation [here](https://docs-beta.luxonis.com/software/ros/depthai-ros/intro/). diff --git a/depthai_ros_driver/src/pipeline/pipeline_generator.cpp b/depthai_ros_driver/src/pipeline/pipeline_generator.cpp index 03827ee3..a32e3089 100644 --- a/depthai_ros_driver/src/pipeline/pipeline_generator.cpp +++ b/depthai_ros_driver/src/pipeline/pipeline_generator.cpp @@ -38,7 +38,7 @@ std::vector> PipelineGenerator::createPipel } if(enableImu) { - if(device->getConnectedIMU() == "NONE") { + if(device->getConnectedIMU() == "NONE" || device->getConnectedIMU().empty()) { ROS_WARN("IMU enabled but not available!"); } else { auto imu = std::make_unique("imu", node, pipeline, device);