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

ROS, Openni and Kinect not working on a new Ubuntu System

asked 2012-09-26 13:19:52 -0500

sem gravatar image

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

ngrennan gravatar image

Hello, after updating my laptop to a new one, i am not able to get ROS, Openni and a Kinect back to work.

On the new Laptop(Acer Aspire V-571) and Ubuntu 12.04 64Bit i installed ROS Fuerte(+openni-camera, openni-lauch).

After starting the

roslaunch openni_launch openni.launch

i tried rviz and image_view like on the openni_launch website and my own written node, but i get no picture. it seems like the kinect is publishing no pictures over the nodes, an rostopic echo on the picture topics shows nothing. The turtlesim nodes from the Tutorials are working and publishing messages over the topics.

lsusb shows the 3 (Motor, Audio, Camera) Devices correct.

Things i have already tried(found as possible help on other answers here):

using all USB Slots (USB2 and USB3), even an external USB Hub
killall XnSensorServer
rmmod gspca_kinect
a new (old) Ubuntu Installation with 11.10 and ROS Electric

I am not sure what i can test next or where the failure comes from, the Kinect Sensor is working with freenect-glview and on the laptop of a colleague with the same installation steps that doesnt work on my laptop.

the output of roswtf in openni_launch shows:

sem@semlaptop:/opt/ros/fuerte/stacks/openni_launch/launch$ roswtf openni.launch 
Loaded plugin tf.tfwtf
[rospack] Warning: ignoring duplicate cpp tag in export block
[rospack] Warning: ignoring duplicate cpp tag in export block
[rospack] Warning: ignoring duplicate cpp tag in export block
[rospack] Warning: ignoring duplicate cpp tag in export block
[rospack] Warning: ignoring duplicate cpp tag in export block
[rospack] Warning: ignoring duplicate cpp tag in export block
================================================================================
Static checks summary:

Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING The following packages have msg/srv-related cflags exports that are no longer necessary
    <export>
        <cpp cflags="..."
    </export>:
 * dynamic_reconfigure: -I${prefix}/msg/cpp -I${prefix}/srv/cpp


Found 1 error(s).

ERROR The following packages have rpath issues in manifest.xml:
 * openni_launch: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * rosconsole: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * stereo_msgs: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * nodelet_topic_tools: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * depth_image_proc: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * pcl_ros: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * image_proc: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * roscpp: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * roslib: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * rostest: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * pcl ...
(more)
edit retag flag offensive close merge delete

Comments

i tried it in every combination (Ubuntu 11.10/12.04 - ROS Electric/Fuerte) with the USB2.0/USB3.0 Port and an external USB HUB.

sem gravatar image sem  ( 2012-09-26 22:54:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-09-26 14:57:54 -0500

Be sure to connect the Kinect to a USB2.0 port not a USB3.0 (I think there is still some issue between Ubuntu and USB3.0).

If your USB is 3.0 take a look at this question

Good luck!

edit flag offensive delete link more

Comments

This helped me a lot! I didn't even consider that as a possible problem before reading your answer.

georgebrindeiro gravatar image georgebrindeiro  ( 2012-12-21 09:42:55 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2012-09-26 13:19:52 -0500

Seen: 1,423 times

Last updated: Sep 26 '12