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

how to use PrimeSense Carmine 1.09 in Hydro?

asked 2015-07-16 00:23:24 -0600

ustbguan gravatar image

updated 2015-07-16 03:15:12 -0600

Hi everyone, I want to use PrimeSense Carmine 1.09 in Hydro(ubuntu 12.04 64bit), and I have installed OpenNI-Linux-x64-2.2, Sensor-Bin-Linux-x64-v5.1.6.6 and NiTE-Linux-x64-2.2. But when I run this:

roslaunch openni2_launch openni2.launch depth_registration:=true

I got the error:

No matching device found.... waiting for devices. Reason: std::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/buildd/ros-hydro-openni2-camera-0.1.4-0precise-20150515-0513/src/openni2_driver.cpp @ 623 : Invalid device number 1, there are 0 devices connected.

Please help me and thanks anyway!

And this is the output of lsusb: Bus 002 Device 014: ID 1d27:0609

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-21 05:16:16 -0600

peipei gravatar image

updated 2015-11-21 05:18:58 -0600

Hello, I use the same platform as you. ubuntu12.04 + hydro + primesense 1.09. OpenNI has been installed with ros. When I use "roslaunch openni2_launch openni2.launch" to get the topics, the problem "No matching device found" appeared. So I searched for the solution and found one that worked out of box. First, you need to download OpenNI2, compile it and install it. The OpenNI2 can be found in . Then copy the include and lib to the system content.

sudo cp -r Include /usr/include/openni2
sudo cp -r Bin/x64-Release/OpenNI2 /usr/lib/
sudo cp Bin/x64-Release/libOpenNI2.* /usr/lib/

And then modify the configure file of openni /usr/lib/pkgconfig/libopenni2.pc. Like this:


Name: OpenNI2
Description: A general purpose driver for all OpenNI cameras.
Cflags: -I${includedir}
Libs: -L${libdir} -lOpenNI2 -L${libdir}/OpenNI2/Drivers -lDummyDevice -lOniFile

Last, you can test the openni2_launch for you device.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-07-16 00:13:46 -0600

Seen: 893 times

Last updated: Nov 21 '15