ros-drivers / openni2_launch

Launch files to open an OpenNI2 device and load all nodelets to convert raw depth/RGB/IR streams to depth images, disparity images, and (registered) point clouds.
8 stars 33 forks source link

No image data on /camera/rgb/image_color topic when using Asus Xtion Pro #21

Closed pirobot closed 9 years ago

pirobot commented 9 years ago

When using an Asus Xtion Pro and the latest Indigio Debian packages under Ubuntu 14.04, after running

$ roslaunch openni2_launch openni2.launch

there is no image data on the topic /camera/rgb/image_color as expected but the color image is on the topic /camera/rgb/image_raw.

mikeferguson commented 9 years ago

How about if you add depth_registration:=true?

pirobot commented 9 years ago

Running

$ roslaunch openni2_launch openni2.launch depth_registration:=true

does not fix the problem.

mikeferguson commented 9 years ago

Did this previously work (under hydro or whatnot?)

mikeferguson commented 9 years ago

Also -- have you tried from source? There is an issue with tf2/indigo/tf_prefix that causes certain things to have tf errors (due to "/" at beginning of tf frame) -- I've recently fixed that, but not yet released new debs.

pirobot commented 9 years ago

Good question. I thought it worked under Hydro a long time ago but my guess is I was using openni_launch and not openni2_launch. Now when I try it with the latest Hydro debs, openni_launch cannot see the device and openni2_launch sees the device but I get the same null result on /camera/rgb/image_color as I do under Indigo.

So I guess my expectations were incorrect. What started all this is that the Indigo freenect_launch package does publish image data on /camera/rgb/image_color when using a Kinect...

pirobot commented 9 years ago

Closed by original posted as expectations were incorrect.