Robotics StackExchange | Archived questions

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

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

Error:

[ 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 gmappingdemo uses opennilaunch as default I need to change launch file but not quite sure it will let the gmappingdemo use freenectlaunch.

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

Asked by skywalker on 2015-03-18 13:41:04 UTC

Comments

Answers

I have the same error

Any personn have a respond for helping us?

Asked by nerozalex on 2015-03-27 09:39:01 UTC

Comments

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

Asked by skywalker on 2015-03-29 07:04:26 UTC