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

viewing rgb and depth from kinect camera in ubuntu 10.10

asked 2011-10-25 08:12:36 -0500

bassim gravatar image

updated 2016-10-24 08:59:25 -0500

ngrennan gravatar image

I don't get any data (rgb image,depth image,rviz) from the kinect,I'm running on Ubuntu 10.10 ,diamondback;basically what I did is :

1) I set up my computer to accept software from ROS.org

2) I ran roscore on a new terminal by typing : roscore

3)I installed openNI kinect by typing : sudo apt-get install ros-diamondback-openni-kinect

4)I installed openNi camera by typing : rosmake openni_camera

5)I launched the openNI driver by typing :roslaunch openni_camera openni_node.launch

6)I ran rviz by typing: rosrun rviz rviz

7)I ran the rgb camera by typing : rosrun image_view image_view image:=/camera/rgb/image_color

please help me fix it.

edit retag flag offensive close merge delete

Comments

Where did you get these instructions from? These are not the standard wa to install the kinect drivers.
tfoote gravatar image tfoote  ( 2011-10-25 09:06:39 -0500 )edit
I got them from ROS.org ,if you think that they are wrong,could you please tell me what are the right instructions ?
bassim gravatar image bassim  ( 2011-11-04 08:41:15 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2011-10-25 09:53:48 -0500

mmwise gravatar image

updated 2011-10-31 11:37:48 -0500

If you would like to view images coming from the kinect camera, follow the instructions posted here: http://www.ros.org/wiki/openni_kinect and here: http://www.ros.org/wiki/openni_camera

which are summarized as follows:

  1. install openni_kinect: sudo apt-get install ros-electric-openni-kinect
  2. run openni: roslaunch openni_launch openni.launch
  3. run image viewer: rosrun image_view image_view image:=/camera/rgb/image_color

This video tutorial for the TurtleBot might also be helpful: http://www.ros.org/wiki/turtlebot/Tutorials/Looking%20at%20Camera%20Data

edit flag offensive delete link more

Comments

@bassim what happens when you follow these instructions. do you see any console output? Any error messages? You need to provide more information so that we can help you
mmwise gravatar image mmwise  ( 2011-11-02 10:17:41 -0500 )edit
@bassim do you see any errors in the terminal when you roslaunch openni_camera openni_node.launch .. can you rostopic hz /camera/rgb/image_color
mmwise gravatar image mmwise  ( 2011-11-04 06:56:11 -0500 )edit
when I typed on a new terminal : rostopic hz/camera/rgb/image_color . I got this : WARNING: topic [/camera/rgb/image_color] does not appear to be published yet
bassim gravatar image bassim  ( 2011-11-04 07:42:13 -0500 )edit
are there any errors in the terminal where you called roslaunch openni_camera openni_node.launch?
mmwise gravatar image mmwise  ( 2011-11-04 16:32:57 -0500 )edit
no , I didnt get any error !
bassim gravatar image bassim  ( 2011-11-07 01:41:04 -0500 )edit
can you copy and paste the output from that terminal into your question
mmwise gravatar image mmwise  ( 2011-11-07 10:11:40 -0500 )edit
you should see a line like this in the output ... [ INFO] [1320711146.846538470]: Number devices connected: 1
mmwise gravatar image mmwise  ( 2011-11-07 10:13:40 -0500 )edit
1

answered 2011-10-25 09:00:31 -0500

Mac gravatar image

First, pasting half of the web into your question doesn't help.

What's this KinectROSPackage thing you're talking about? You should just install openni_kinect from the binaries:

sudo apt-get install ros-electric-openni-kinect

and then use the various nodes it provides.

edit flag offensive delete link more
0

answered 2011-10-25 09:19:06 -0500

bassim gravatar image

well,I followed those instruction and what I got at the end is depth and RGB windows (without showing anything ! even if the kinect is plugged!!!). can you tell me details about what i have to do before and after this "sudo apt-get install ros-electric-openni-kinect" ;FYI: Im on Ubuntu 10.10 ,and on windows I got the images from the kinect!!! thanks again man !

edit flag offensive delete link more

Comments

Do you see the IR-Laser of the Kinect actually turning on when you subscribe to any of the depth-related topics?
Ben_S gravatar image Ben_S  ( 2011-11-04 07:12:10 -0500 )edit

Question Tools

Stats

Asked: 2011-10-25 08:12:36 -0500

Seen: 4,041 times

Last updated: Nov 04 '11