# Raw RGB Image is blank on Rasp Pi

Hi,

I've getting a problem where my /openni2_camera/rgb/image_raw is blank. Just an array of zeros i.e

rostopic echo /openni2_camera/rgb/image_raw

[.... 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0]

All was working okay until I updated my raspberry pi OS. I recompiled the interface, then the image came back, then I upgraded to an rasp pi 2 and the image has gone again (This is with an XTION).

/openni2_camera/depth/image_raw is fine

I've tried upgrading from groovy to indigo and recompiling everything. Same issue but now I get a ton of linusb debug

e.g (Which goes on an on). rosrun openni2_camera openni2_camera_node libusb: 0.000000 debug [libusb_init] libusb-1.0.9 git:1.0.9-28-g7634714 libusb: 0.000948 debug [find_usbfs_path] found usbfs at /dev/bus/usb libusb: 0.001341 debug [op_init] bulk continuation flag supported libusb: 0.001643 debug [op_init] zero length packet flag supported libusb: 0.001995 debug [op_init] found usb devices in sysfs libusb: 0.002620 debug [usbi_add_pollfd] add fd 3 events 1 libusb: 0.003141 debug [usbi_io_init] using timerfd for timeouts libusb: 0.003441 debug [usbi_add_pollfd] add fd 5 events 1 libusb: 0.690501 debug [libusb_init] libusb-1.0.9 git:1.0.9-28-g7634714 libusb: 0.690723 debug [find_usbfs_path] found usbfs at /dev/bus/usb libusb: 0.690808 debug [op_init] bulk continuation flag supported libusb: 0.690878 debug [op_init] zero length packet flag supported libusb: 0.690999 debug [op_init] found usb devices in sysfs libusb: 0.691299 debug [usbi_add_pollfd] add fd 12 events 1 libusb: 0.691403 debug [usbi_io_init] using timerfd for timeouts libusb: 0.691474 debug [usbi_add_pollfd] add fd 14 events 1 libusb: 0.691741 debug [libusb_get_device_list] libusb: 0.691982 debug [sysfs_scan_device] scan 1-1 libusb: 0.692495 debug [sysfs_scan_device] bus=1 dev=2 libusb: 0.692607 debug [enumerate_device] busnum 1 devaddr 2 session_id 258 libusb: 0.692683 debug [enumerate_device] allocating new device for 1/2 (session 258)

Does anyone have any suggestions?

Thanks

Mark

edit retag close merge delete

Sort by » oldest newest most voted

So this probem seems to be related to the libusb driver on the pi 2

git clone https://github.com/libusb/libusb.git


and reinstall

Mark

more