Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

webcam on exterior conditions

Hey there,

Firstly, I'm aware this is not a completely ROS related question, however I have used this web camera before on the exterior with no problems, so I'm wondering if I might be missing something on my setup.

Basically the problem is related with the "saturation" of the image when on the exterior (due to daylight). The image gets either completely white or really "whitish". I'm using the usb_cam ROS package to get the images from the camera.

The launch file I'm using right now is:

<launch>
        <node name="usb_cam" pkg="usb_cam" type="usb_cam_node">
            <param name="video_device" value="/dev/video1"/>
            <param name="image_width"  value="640"   />
            <param name="image_height" value="480"   />
            <param name="pixel_format" value="mjpeg" />
            <param name="auto_focus"   value="true"  /> 
            <param name="framerate"    value="30"    /> 
            <param name="camera_frame_id" value="/camera" />
        </node>
</launch>

Initially I didn't had the auto_focus enabled, but added it on an attempt to solve the problem. I have used this camera on the exterior on pretty similar conditions with no problems, however I can't seem to find a way to use it now. Am I missing something?

Once again sorry for the question not being totally ROS related, but I'm pretty lost about this. Thanks in advance

webcam on exterior conditions

Hey there,

Firstly, I'm aware this is not a completely ROS related question, however I have used this web camera before on the exterior with no problems, so I'm wondering if I might be missing something on my setup.

Basically the problem is related with the "saturation" of the image when on the exterior (due to daylight). The image gets either completely white or really "whitish". I'm using the usb_cam ROS package to get the images from the camera.

The launch file I'm using right now is:

<launch>
        <node name="usb_cam" pkg="usb_cam" type="usb_cam_node">
            <param name="video_device" value="/dev/video1"/>
            <param name="image_width"  value="640"   />
            <param name="image_height" value="480"   />
            <param name="pixel_format" value="mjpeg" />
            <param name="auto_focus"   value="true"  /> 
            <param name="framerate"    value="30"    /> 
            <param name="camera_frame_id" value="/camera" />
        </node>
</launch>

Initially I didn't had the auto_focus enabled, but added it on an attempt to solve the problem. The camera is a "Creative Live! Cam Socialize HD 1080". I have used this camera on the exterior on pretty similar conditions with no problems, however I can't seem to find a way to use it now. Am I missing something?

Once again sorry for the question not being totally ROS related, but I'm pretty lost about this. Thanks in advance