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

PrimeSense RD1.09+USB3.0+Ubuntu

asked 2014-03-12 04:21:57 -0500

Tinrik gravatar image

updated 2016-10-24 09:01:20 -0500

ngrennan gravatar image

Hi,

I would like to ask if anyone has got to get the PrimeSense RD1.09 RGBD camera working with ROS when connected to a USB 3.0 port under Ubuntu. Right now I am using ROS Fuerte, Ubuntu 12.04.3 (Kernel 3.8.0-31) but cannot get the camera working on the USB 3.0 port (it does work when plugged into a USB 2.0 port). The camera is correctly recognised if I do lsusb. However, it shows the following error message when executing roslaunch openni_launch openni.launch:

terminate called after throwing an instance of 'openni_wrapper::OpenNIException' what(): unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /tmp/buildd/ros-fuerte-openni-camera-1.8.6/debian/ros-fuerte-openni-camera/opt/ros/fuerte/stacks/openni_camera/src/openni_driver.cpp @ 125 : enumerating image nodes failed. Reason: One or more of the following nodes could not be enumerated:

Image: PrimeSense/SensorV2/5.1.2.1: Failed to set USB interface!

Any hint on what I could do? Thanks!

Edit: Sorry for the post duplicates, there seemed to be an error when I created it.

edit retag flag offensive close merge delete

Comments

I've got almost the same setup, but using openni2_camera: https://github.com/ros-drivers/openni2_camera It works mostly like openni_camera, so try that and see if it does the right thing.

jbinney gravatar image jbinney  ( 2014-03-12 08:53:37 -0500 )edit

I'm absolutely new to ROS and I only know basically how to use openni_launch, nothing else. I have also installed hydro which comes with openni2-camera. Could you please tell me the commands to use openni2_camera? Thanks :)

Tinrik gravatar image Tinrik  ( 2014-03-12 10:52:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-12 23:12:15 -0500

Tinrik gravatar image

I finally solved it! For those who are also new to ROS, this is what I did:

First, install openni2. I believe you need Hydro or Groovy for that. As jbinney mentioned, openni2_camera works with USB 3.0. In particular I used openni2_launch: roslaunch openni2_launch openni2.launch

In order to see the images you need to use image_view but with different topics than it appears in the documentation. For example, to see the RGB images, I use rosrun image_view image_view image:=/camera/rgb/image_raw, instead of rosrun image_view image_view image:=/camera/rgb/image_color as in the openni_launch wiki.

Thanks! :)

edit flag offensive delete link more

Comments

For other people like me who encountered the similar issue and googled here, maybe you can try this: > `sudo service udev reload` before you go for the openni2. It maybe just a usb issue. I was using an Asus Xtion Pro and suddenly it won't connect anymore (showed the same error info in the console as mentioned in the question). I typed `lsusb -v | grep PrimeSense` and it got stuck there. So I tried: `sudo service udev reload` as suggested in [this post](http://answers.ros.org/question/60396/openni-driver-wont-start-sometimes/?answer=60406#post-id-60406) and it worked again! BTW, I'm working under Ubuntu 12.04 64bit, ROS fuerte, openni_launch.

simbaforrest gravatar image simbaforrest  ( 2014-04-27 09:45:57 -0500 )edit

Question Tools

Stats

Asked: 2014-03-12 04:21:57 -0500

Seen: 1,037 times

Last updated: Mar 12 '14