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

How to make the libuvc_ros package

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

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 image evk02  ( 2014-03-12 10:35:05 -0500 )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 -0500 )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 -0500 )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 image JennyLu  ( 2014-03-12 12:39:17 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

evk02 gravatar image

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

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 image JennyLu  ( 2014-03-17 06:35:05 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 1,791 times

Last updated: Mar 12 '14