Skip to content

Commit 361e79e

Browse files
authored
No imu fix Iron (luxonis#501)
1 parent babeaaa commit 361e79e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Depthai ROS Repository
22
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/)
33

4-
You can find the newest documentation [here](https://docs-beta.luxonis.com/develop/ros/depthai-ros-intro/).
4+
You can find the newest documentation [here](https://docs-beta.luxonis.com/software/ros/depthai-ros/intro/).

depthai_ros_driver/src/pipeline/pipeline_generator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ std::vector<std::unique_ptr<dai_nodes::BaseNode>> PipelineGenerator::createPipel
3838
}
3939

4040
if(enableImu) {
41-
if(device->getConnectedIMU() == "NONE") {
41+
if(device->getConnectedIMU() == "NONE" || device->getConnectedIMU().empty()){
4242
RCLCPP_WARN(node->get_logger(), "IMU enabled but not available!");
4343
} else {
4444
auto imu = std::make_unique<dai_nodes::Imu>("imu", node, pipeline, device);

0 commit comments

Comments
 (0)