Skip to content

Commit

Permalink
No imu fix Noetic (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam authored Mar 5, 2024
1 parent 9c138e5 commit ac07ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/).
You can find the newest documentation [here](https://docs-beta.luxonis.com/software/ros/depthai-ros/intro/).
2 changes: 1 addition & 1 deletion depthai_ros_driver/src/pipeline/pipeline_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::vector<std::unique_ptr<dai_nodes::BaseNode>> 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<dai_nodes::Imu>("imu", node, pipeline, device);
Expand Down

0 comments on commit ac07ef2

Please sign in to comment.