Ask Your Question

unable to view kinect data in rviz [closed]

asked 2013-06-26 03:50:07 -0500

krrish94 gravatar image

updated 2016-10-24 08:35:06 -0500

ngrennan gravatar image

I have ROS fuerte running on Ubuntu 12.04 with openni_camera and openni_launch installed. But, when I try to visualize kinect data in the form of point clouds by following the tutorial in the openni_launch wiki , I am unable to see anything in rviz. Can anyone help me out on this?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by jayess
close date 2018-07-28 18:01:52.643843



Is there any error message? Does rostopic hz /camera/rgb/image give any output? Did you try to enable/disable depth_registration through dynamic reconfigure?

Ben_S gravatar image Ben_S  ( 2013-06-26 04:17:08 -0500 )edit

I ran rostopic hz /camera/rgb/image_rect and it gave me the following output. subscribed to [/camera/rgb/image_rect] average rate: 30.686 min: 0.019s max: 0.036s std dev: 0.00343s window: 25 average rate: 30.236 min: 0.019s max: 0.036s std dev: 0.00269s window: 55 average rate: 30.156 min: 0.019s

krrish94 gravatar image krrish94  ( 2013-06-26 07:10:59 -0500 )edit

Ok, so the driver itself is working. Do you see the IR projector turning on, when you subscribe to the depth topics? Try disabling depth registration and then subscribe to the non registered depth topics. Is there any error message in rviz? Did you set a fixed frame?

Ben_S gravatar image Ben_S  ( 2013-06-26 11:05:29 -0500 )edit

It seems to be working now. Thanks a lot. But, the images are so small and noisy. Can anything be done to correct that?

krrish94 gravatar image krrish94  ( 2013-06-26 23:29:32 -0500 )edit

@Ben_S I am now able to view the depth image, but the image inside the windo is really small. And, it is not a very clear image. Does this mean I'll have to calibrate my kinect?

krrish94 gravatar image krrish94  ( 2013-06-28 04:05:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-12 06:13:49 -0500

zubair gravatar image

please provide the window of rviz after you launch openni ,,, also try rostopic hz and your camera topic , make sure your camera topic gives you point cloud..

edit flag offensive delete link more

Question Tools


Asked: 2013-06-26 03:50:07 -0500

Seen: 491 times

Last updated: Apr 12 '17