anqixu / ueye_cam

A ROS nodelet and node that wraps the driver API for UEye cameras by IDS Imaging Development Systems GMBH.
Other
60 stars 102 forks source link

Resolution issue #7

Closed rocklinsuv closed 9 years ago

rocklinsuv commented 9 years ago

Hi Anqi,

First I would like to thank you for writing such a good ROS driver. Previously I was using the "ueyecamera" package, which only supports 15fps@the maximum resolution. I don't think the author wrote the package very well. After I switched to your package, I encountered a problem. I'm using Ubuntu 12.04LTS with ROS Groovy. uEye camera model UI-1221-LE-C. According to the manual, the maximum resolution is 752*480. I launched the "rgb8.launch" file, brought the dynamic reconfigure GUI, and tried to change the resolution. However, the terminal window kept outputing "Fail to aquire image from UEye camera 'camera' (IS_TIMED_OUT). I tried to change the variable "camaoi.s32WIdith=640" to 752 in "ueye_cam_driver.cpp", as well as modify the parameter "image_width" in "rgb8.launch", but neither of them seems to work. Would you plz tell me how I can use the maximum resolution without getting this error? Many thanks.

Cheers, Lyn

anqixu commented 9 years ago

Please see my description about that error: https://github.com/anqixu/ueye_cam/issues/6

After that, I would recommend testing our your settings by running the application 'ueyedemo' and setting your desired camera parameters. If ueyedemo is giving you good results and ueye_cam still reports errors, then I'll be happy to look further into this matter.

rocklinsuv commented 9 years ago

Thank you for your quick reply. Previously I was using 60fps, and then I changed to 20fps(both @752*480 pixels). Seems that less error messages appeared. Another thing is I'm using VMware to run this Ubuntu system. That's obviously a problem. Will test it on another computer and see how it goes. Thanks again!