ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

No matching devices founded error for gmapping_demo.launch (turtlebot)

asked 2015-03-18 13:41:04 -0600

skywalker gravatar image

updated 2015-03-18 15:42:38 -0600

Note: I solved the problem. It seems I set environment paths wrong for Kinect as described here.

I am encountering with the following error when I try to run :

roslaunch turtlebot_navigation gmapping_demo.launch


[ INFO] [1426701074.584654164]: No matching device found.... waiting for devices. Reason: std::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/buildd/ros-indigo-openni2-camera-0.2.3-0trusty-20150221-1448/src/openni2_driver.cpp @ 623 : Invalid device number 1, there are 0 devices connected.

Strange thing when I run :

roslaunch openni_launch openni.launch

I don't get any errors and I am able to see rgb and depth output of kinect sensor.

I think it shows that I installed Kinect driver properly. But there is something wrong with gmapping_demo that lets not to find Kinect on the USB ports.

As suggested here I installed freenect_launch and run :

roslaunch freenect_launch freenect.launch

And now I am able to get rgb and depth data on Rviz from TurtleBot's Kinect (workstation) Because gmapping_demo uses openni_launch as default I need to change launch file but not quite sure it will let the gmapping_demo use freenect_launch.

My setup : Asus netbook X201E for TurtleBot Lenovo E440 for workstation Both have Ubuntu 14.04.02 with Indigo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-27 09:39:01 -0600

nerozalex gravatar image

updated 2015-03-27 09:39:12 -0600

I have the same error

Any personn have a respond for helping us?

edit flag offensive delete link more


Actually, I solved the problem by re-arranging environment PATH for kinect as described here.

skywalker gravatar image skywalker  ( 2015-03-29 07:04:26 -0600 )edit

Question Tools



Asked: 2015-03-18 13:41:04 -0600

Seen: 2,987 times

Last updated: Mar 27 '15