Ask Your Question
0

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

Comments

You should download it from git https://github.com/ktossell/libuvc_ros.git into your src folder and then from the catkin folder run catkin_make_isolated --pkg libuvc_camer --install

evk02 gravatar imageevk02 ( 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 imagejbinney ( 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 imageJennyLu ( 2014-03-12 12:37:47 -0600 )edit

@jbinney I am using Groovy. I learned from here: http://wiki.ros.org/libuvc_camera And download the source from https://github.com/ktossell/libuvc_ros.git , which is said to be in master branch

JennyLu gravatar imageJennyLu ( 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 imageJennyLu ( 2014-03-12 12:41:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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): http://wiki.ros.org/camera1394

If you are not sure how to use parameters, the best to use a launch file. Example http://answers.ros.org/question/9786/...

edit flag offensive delete link more

Comments

It seems my camera is not a IEEE 1394 camera. So when I followed the tutorial here: http://wiki.ros.org/camera1394/Tutorials/ConnectingToIEEE1394Camera, 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 imageJennyLu ( 2014-03-17 06:35:05 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 1,486 times

Last updated: Mar 12 '14