Ask Your Question

kinect openni,error message,no devices connected!! on ubuntu-diamondback [closed]

asked 2011-10-25 08:06:10 -0600

bassim gravatar image

updated 2014-04-20 14:09:31 -0600

ngrennan gravatar image

hi,Im trying to get depth image and RGB image from the Kinect,i followed the step below : Installing ROS for Kinect.

This document describes how to install ROS in order to use the Kinect and the KinectROSPackage program.

  1. Installing Ubuntu 10.10.

ROS is fully compatible with Ubuntu only. ROS has some distributions, the recommended one is called Diamondback. ROS Diamondback works with Ubuntu 10.04, 10.10 and 11.04. As the compatibility with 11.04 is very recent this document describes the process for 10.10.

  1. Installing GIT and Mercurial.

During the installation you may have errors returning messages that ask for 'git' (for GIT) or 'hg' (for Mercurial). In such cases just type 'git' or 'hg' in the terminal, the terminal will return how to install these.

  1. Installing ROS Diamondback.

Instructions are here: . However I list all the steps below.

3.1 Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse".

3.2 Type this in the terminal so that the computer accepts software from sudo sh -c 'echo "deb maverick main" > /etc/apt/sources.list.d/ros-latest.list'

3.3 And then: wget -O - | sudo apt-key add -

3.4 And then: sudo apt-get update

3.5 To actually install ROS type: sudo apt-get install ros-diamondback-desktop-full

3.6 Finally add "source /opt/ros/diamondback/setup.bash" at the end of the .bashrc by typing: echo "source /opt/ros/diamondback/setup.bash" >> ~/.bashrc . ~/.bashrc

  1. Installing rabbitVCS, a version control system for Ubuntu that will allow us to get the KinectROSPackage.

Just type these lines one by one: sudo add-apt-repository ppa:rabbitvcs/ppa sudo apt-get update sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus

  1. Installing KinectROSPackage

Here we will create a new ROS package, add the KinectROSPackage source code and compile everything. You can find information about creating packages in the ROS tutorials: .

5.1 When ROS looks for stacks or packages it uses the ROS_PACKAGE_PATH. A package or stack created out of this ROS_PACKAGE_PATH won't be detected by ROS. By default its value is /opt/ros/diamondback/stacks but this path contains the base installation of ROS and we'd better not modify it. We will extend the ROS_PACKAGE_PATH to another directory. Let's say that you want to create the KinectROSPackage in the /home/user/KinectSensor directory. Once you have created this directory you have to modify the ROS_PACKAGE_PATH by typing in the terminal: export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/user/KinectSensor

This will modify the path for the running terminal. To have this path changed every time you open a new terminal you have to change your .bashrc file. To find the .bashrc file go in your /home/user directory and display the hidden files (ctrl+h or View->Show Hidden Files). Open the file with a text editor and add: export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/user/KinectSensor ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by mmwise
close date 2011-10-31 19:21:34

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-25 09:41:34 -0600

mmwise gravatar image

updated 2011-10-25 09:42:14 -0600

posting the question twice will not get you a faster answer, please follow the guidelines at

edit flag offensive delete link more

Question Tools


Asked: 2011-10-25 08:06:10 -0600

Seen: 883 times

Last updated: Oct 25 '11