Robotics StackExchange | Archived questions

unable to view kinect data in rviz

I have ROS fuerte running on Ubuntu 12.04 with opennicamera and opennilaunch 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?

Asked by krrish94 on 2013-06-26 03:50:07 UTC

Comments

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?

Asked by Ben_S on 2013-06-26 04:17:08 UTC

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

Asked by krrish94 on 2013-06-26 07:10:59 UTC

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?

Asked by Ben_S on 2013-06-26 11:05:29 UTC

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

Asked by krrish94 on 2013-06-26 23:29:32 UTC

@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?

Asked by krrish94 on 2013-06-28 04:05:51 UTC

Answers

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..

Asked by zubair on 2017-04-12 06:13:49 UTC

Comments