ros-drivers / openni2_camera

ROS wrapper for openni 2.0
http://wiki.ros.org/openni2_camera
BSD 3-Clause "New" or "Revised" License
56 stars 95 forks source link

Unable to stream SXGA raw color images #71

Open 130s opened 6 years ago

130s commented 6 years ago

Issue by ljklonepiece Tuesday May 24, 2016 at 01:00 GMT _Originally opened as https://github.com/ros-drivers/openni2_launch/issues/31_


I am using openni2_launch for Xtion Pro Live camera. I want to obtain high-resolution rgb images (SXGA). after launch the camera, it is able to stream VGA (30hz) images (/camera/rgb/image_raw) smoothly, but after (using rqt_reconfigure) changing the color mode from VGA_30Hz to SXGA_30Hz, it is unable to stream the /camera/rgb/image_raw.

Anyone encountered the same problem previously? How shall I resolve this? Thank you so much!

5yler commented 6 years ago

I'm experiencing the same issue with a Primesense Carmine 1.09 camera. If I switch to SXGA_30Hz I get the following error:

[ WARN] [1519944812.387408924]: Reconfigure callback failed with exception void 
openni2_wrapper::OpenNI2Device::setColorVideoMode(const 
openni2_wrapper::OpenNI2VideoMode&) @ /home/catkin_ws/src/openni2_camera/openni2_camera
/src/openni2_device.cpp @ 521 : Couldn't set color video mode: 
    Stream setProperty(3) failed