How to find the problem of kinect when rostopic echo get nothing
I plugin the kinect.
roslaunch openni_launch openni.launch
rosrun rviz rviz
setup the msg type [PointCloud2]
and topic [/camera/depth/points]
and the reference frame [/camera_depth_frame]
But the status indicates no messages received. How can I make sure it's the problem from kinect or from openni?
modified)
To clarify my problem:
I do rostopic echo [topic] and get nothing. It may not be the problem of Rviz and the viewing tools. I doubt this is the hardware and driver problem, and possibly the graphic card driver? This problem happened on my laptop while my desktop worked fine. Both of them are Ubuntu 12.04 and Fuerte. I got bumblebee on my laptop but not on the desktop.
Some messages appear in the shell where I roslaunch openni_launch openni.launch :
[ERROR] [1355549619.381311998]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressedDepth/set_parameters]
[ERROR] [1355549619.393316233]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
[ERROR] [1355549619.406856824]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters]
[ INFO] [1355549620.217247774]: Number devices connected: 1
[ INFO] [1355549620.217803421]: 1. device on bus 003:05 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00365A18349102A'
[ INFO] [1355549620.219848686]: Searching for device with index = 1
[ INFO] [1355549620.260220331]: Opened 'Xbox NUI Camera' on bus 3:5 with serial number 'A00365A18349102A'
[ INFO] [1355549620.280287325]: rgb_frame_id = '/camera_rgb_optical_frame'
[ INFO] [1355549620.280362638]: depth_frame_id = '/camera_depth_optical_frame'
[ WARN] [1355549620.284242802]: Camera calibration file /home/albert/.ros/camera_info/rgb_A00365A18349102A.yaml not found.
[ WARN] [1355549620.284296968]: Using default parameters for RGB camera calibration.
[ WARN] [1355549620.284377146]: Camera calibration file /home/albert/.ros/camera_info/depth_A00365A18349102A.yaml not found.
[ WARN] [1355549620.284421645]: Using default parameters for IR camera calibration.
I think that these warnings and errors shouldn't result in such problem. Besides, the info may tell us that the device driver is fine.
How to solve this? Thanks~
Does
rostopic echo /camera/depth/points
print anything?I have met the same problem. In my case, it prints nothing.