ros-drivers / libuvc_ros

http://www.ros.org/wiki/libuvc_ros
82 stars 95 forks source link

scanning_mode has very large values, and dynamic reconfiguration isn't possible #25

Open lucasw opened 8 years ago

lucasw commented 8 years ago

I've been trying the very latest libuvc and libuvc_camera with ros jade on Ubuntu 14.04 and either a Logitech C930e or a Webcam 9000 Pro and I can't reconfigure the camera. The scanning_mode initial value is very large and often negative, and appears random on every launch of the camera_node. Trying to change most other parameters triggers an attempt to set scanning_mode to a sane value which fails- and sometimes makes the setting of the other value fail.

rqt_reconfigure doesn't like the big numbers and generates a ValueError.

I have more details here:

http://answers.ros.org/question/220560/dynamic-reconfigure-with-libuvc_camera-in-jade/

lucasw commented 8 years ago

I tried commenting out scanning_modes in the cfg file and camera_driver, but then it is auto_exposure that takes on bad values and crashes rqt dynamic reconfigure.

If I disable about half of the cfg then rqt doesn't give the bad value error, but none of the controls work- this is in the form camera_driver.cpp:132 : Unable to set brightness to 10.

davelkan-zz commented 6 years ago

Has anyone found a solution to this? I believe I am having a similar issue. Attempting to set brightness or exposure absolute at all causes an immediate failure on one camera, on the other it only crashes if i try to use any value other than the default.

hvpandya-TRI commented 5 years ago

This is still an issue in melodic