unable to view kinect data in rviz [closed]
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?
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?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
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?
It seems to be working now. Thanks a lot. But, the images are so small and noisy. Can anything be done to correct that?
@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?