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

the right way to install openi-kinect

asked 2013-06-06 17:09:10 -0600

Benzwr gravatar image

updated 2014-01-28 17:16:48 -0600

ngrennan gravatar image

I just brought a kinect and wanted to the rgdbslam I download the SensorKinect-Bin-Linux64-v5.0.1.32.tar.bz2 and installed it. after that I issued "roslaunch openni_launch openni.launch" and I got the following error messages

enter c[camera/depth/metric_rect-9] process has died [pid 24153, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load depth_image_proc/convert_metric /camera_nodelet_manager --no-bond image_raw:=image_rect_raw image:=image_rect __name:=metric_rect __log:=/home/benzene/.ros/log/7b10089a-cf1e-11e2-a66b-001e33286433/camera-depth-metric_rect-9.log].

does anyone knows what's going on ? please teach me how to install the kinect driver in the right way. thanks!

edit retag flag offensive close merge delete

Comments

did you try using apt-get? the packages are ros-groovy-openni-camera and ros-groovy-openni-launch, or fuerte respectively

goetz.marc gravatar image goetz.marc  ( 2013-06-06 21:42:04 -0600 )edit

yes, I did !

Benzwr gravatar image Benzwr  ( 2013-06-07 00:07:56 -0600 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2013-06-06 22:05:08 -0600

In order to install the kinect, under Unbuntu 12.04 or 12.10, with ROS-GROOVY follow this procedure :

  • install Ubuntu (12.10 or 12.04)
  • install ros groovy as following : http://www.ros.org/wiki/groovy/Installation/Ubuntu
  • install ros-groovy-openni-* by doing in console "sudo apt-get install ros-groovy-openni-*"
  • download olf version of NITE 1.5.2.21 at http://www.openni.org/openni-sdk/openni-sdk-history-2/
  • extract zip file in a folder
  • extract bz2 file in a folder
  • in terminal, go in NITE folder (with command "cd foldername")
  • launch UNINSTALL script first, by doing in terminal "sudo ./uninstall.sh"
  • launch install script by doing in terminal "sudo ./install.sh"

Have a good day !

Bests,

Stéphane

edit flag offensive delete link more

Comments

thanks for your reply, but it didn't work. I got No devices connected.... waiting for devices to be connected

Benzwr gravatar image Benzwr  ( 2013-06-07 00:08:33 -0600 )edit

Please specify your setup in your question : distribution, ROS version etc... :-)

Stephane.M gravatar image Stephane.M  ( 2013-06-07 00:11:14 -0600 )edit

Thanks for the reply. But I'm using fuerte

Benzwr gravatar image Benzwr  ( 2013-06-07 18:16:32 -0600 )edit

Agree with lindzey - NITE steps not required (for me).

KevinNickels gravatar image KevinNickels  ( 2013-09-27 08:27:28 -0600 )edit
1

answered 2013-06-07 10:57:54 -0600

lindzey gravatar image

updated 2013-06-07 11:01:25 -0600

This worked for me (groovy on Ubuntu 12.04, 64-bit, running in Parallels 8 on OSX 10.8.3)

  • Install Ubuntu 12.04
  • Install groovy following these instructions
  • sudo apt-get install ros-groovy-openni-camera
  • sudo apt-get install ros-groovy-openni-launch

(This appears to be the same as @Stephane, but w/o the NITE steps)

To check that it worked:

roslaunch openni_launch openni.launch
rosrun image_view image_view image:=/camera/rgb/image_color

If you're getting "no devices connected", you may want to see if your computer has detected the kinect. The output of 'lsusb' or 'dmesg' may be helpful. Also - for a ROS-less way of testing your computer's connection with the kinect:

sudo apt-get install freenect
freenect-glview
edit flag offensive delete link more

Comments

Thanks for the reply , but i'm using fuerte.

Benzwr gravatar image Benzwr  ( 2013-06-07 18:17:50 -0600 )edit

The fact that you are using fuerte is anot a probelm, you should just replace the steps of "grovy" with fuerte. Please do a "lsusb", and post us the output (edit your question, and please add also your Ubuntu distrib and the fact you're using fuerte).

Stephane.M gravatar image Stephane.M  ( 2013-06-07 19:55:17 -0600 )edit

Hi, When I do the command sudo apt-get install freenect I get the following error, Can you please help ! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: freenect : Depends: libfreenect-bin but it is not going to be installed Depends: libfreenect0.1 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Muhannad gravatar image Muhannad  ( 2013-10-23 04:23:04 -0600 )edit

You should not post a question inside another question, neither as a comment. Please open a new question for this. Anyway, please specify your ubuntu version when you will ask :-)

Stephane.M gravatar image Stephane.M  ( 2013-10-23 04:25:46 -0600 )edit
0

answered 2015-10-08 04:15:21 -0600

queue gravatar image

kinnect not working getting these error:

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-06 17:09:10 -0600

Seen: 4,742 times

Last updated: Oct 08 '15