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

kinect not detected

asked 2013-11-01 13:13:38 -0600

Bernard_o gravatar image

updated 2016-10-24 08:39:11 -0600

ngrennan gravatar image

Hi guys.

I'm using ros hydro I read in the ros answers site that openni2 and freenect can be used with windows kinect, so i installed using sudo apt-get install ros-hydro-openni2-* and installed freenect with sudo apt-get install ros-hydro-freenect-stack

But there is a problem, the windows kinect is not detected when i type roslaunch openni2_launch openni2.launch There is a message that says [ INFO] [1383342884.120184670]: No matching device found.... waiting for devices. Reason: std::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/buildd/ros-hydro-openni2-camera-0.1.0-0raring-20131015-2254/src/openni2_driver.cpp @ 623 : Invalid device number 1, there are 0 devices connected. and this message keeps iterating

When i type lsusb in the console, it detects the windows kinect.

I'm a ros newbie, i have no clue what to do next. I'm doing something wrong?

I'll appreciate your help.

Thanks in advance. :)

edit retag flag offensive close merge delete



Can you see three entries in the result for ' lsusb ' command for Kinect ? Also, your kinect should be powered along with being connected to netbook/ laptop. Also, did you try with simple install ? sudo apt-get install ros-hydro-openni-launch ros-hydro-openni-tracker ros-hydro-openni-camera

Devasena Inupakutika gravatar image Devasena Inupakutika  ( 2013-11-02 10:56:50 -0600 )edit

Thanks for answering .. hmm, didn't knew that kinect use 3 entries, i will check it. But, it really needs to detect the 3 entries?

Bernard_o gravatar image Bernard_o  ( 2013-11-10 13:53:31 -0600 )edit

Yes, the entries that come up when you use 'lsusb' command as below: Bus 001 Device 010: ID 045e:02ad Microsoft Corp. Xbox NUI Audio Bus 001 Device 009: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor Bus 001 Device 011: ID 045e:02ae Microsoft Corp. Xbox NUI Camera Did you try with above simple install ?

Devasena Inupakutika gravatar image Devasena Inupakutika  ( 2013-11-25 21:35:59 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-29 22:00:09 -0600

fergs gravatar image

openni2_launch will load openni2_camera -- this package/driver does NOT support any version of the Kinect. If you are wanting to use freenect, you should be using freenect_launch, not openni2_launch

edit flag offensive delete link more


unless you install libFreenectDriver, which is a libfreenect-based driver for OpenNI2

olzhas gravatar image olzhas  ( 2014-05-29 23:58:19 -0600 )edit

Have you actually tested that against a debian install of openni2_camera?

fergs gravatar image fergs  ( 2014-05-30 14:20:13 -0600 )edit

Nope, I tested it on Ubuntu 12.04 with openni2 ( also I recompiled the openni2_* packages. and It worked.

olzhas gravatar image olzhas  ( 2014-05-30 22:20:24 -0600 )edit

answered 2014-05-28 18:04:59 -0600


Kinect for windows was discussed here

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-11-01 13:13:38 -0600

Seen: 5,798 times

Last updated: May 29 '14