ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to make the libuvc_ros package

asked 2014-03-12 10:30:11 -0600

JennyLu gravatar image

I downloaded the libuvc_ros from here: uvc_cam.git and I go into the folder: $ make

I got the following error message: build/rostoolchain.cmake .. CMake Error: The source directory "/home/ying/Downloads/NASA_object_identification/libuvc_ros" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: * [all] Error 1

Another questions is how to use the camera driver to auto configure the image effect when the light / exposure changes? for example, in sunlight and in shade. like when in sunlight, the light gain will be decreased and in the shade, the light gain will be increased

edit retag flag offensive close merge delete


You should download it from git into your src folder and then from the catkin folder run catkin_make_isolated --pkg libuvc_camer --install

evk02 gravatar image evk02  ( 2014-03-12 10:35:05 -0600 )edit

What ROS distro are you on? I think the last time i tried that package was on fuerte; i don't see branches in the repo for groovy or hydro

jbinney gravatar image jbinney  ( 2014-03-12 11:22:08 -0600 )edit

@evk02 Thanks for the reply, that's what I used to download the source code from git. I am using groovy distro right now

JennyLu gravatar image JennyLu  ( 2014-03-12 12:37:47 -0600 )edit

@jbinney I am using Groovy. I learned from here: And download the source from , which is said to be in master branch

JennyLu gravatar image JennyLu  ( 2014-03-12 12:39:17 -0600 )edit

@evk02 Thanks for the update, I have no problem with uvc_camera at all, but I want to get access to the file where I can adjust the exposure parameters. Because right now when working outside with other software to take videos, my Logitech HD Pro Webcam C910 works perfect, but in ROS too bright

JennyLu gravatar image JennyLu  ( 2014-03-12 12:41:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-12 12:55:27 -0600

evk02 gravatar image

updated 2014-03-12 13:04:21 -0600

Sorry, not in front on my computer, but I believe uvc_camera uses camera1394, where you can set brightness, see details at (look for brightness under parameters section):

If you are not sure how to use parameters, the best to use a launch file. Example

edit flag offensive delete link more


It seems my camera is not a IEEE 1394 camera. So when I followed the tutorial here:, to run the camera driver. I get error. For the launch file to set parameters, it seems the parameters are width heigth fps, etc

JennyLu gravatar image JennyLu  ( 2014-03-17 06:35:05 -0600 )edit

Question Tools

1 follower


Asked: 2014-03-12 10:30:11 -0600

Seen: 1,791 times

Last updated: Mar 12 '14