Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb_cam_test: explicitly configure contrast and saturation #17

Merged
merged 1 commit into from
Nov 18, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion src/ros/surgery_launch/launch/usb_cam_test.launch
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<launch>
<node pkg="usb_cam" type="usb_cam_node" name="usb_cam" />
<node pkg="usb_cam" type="usb_cam_node" name="usb_cam">
<!-- The usb_cam node hard-codes contrast and saturation to "32". For our
cameras this is not a good value; the image appears washed out and
indistinct. Explicitly set mid-range values. -->
<param name="contrast" value="128" />
<param name="saturation" value="128" />

<!-- The usb_cam node sets the focus value to something silly. Explicitly
disable auto-focus and set focus to "0" (aka "at infinity"). -->
<param name="autofocus" value="false" />
<param name="focus" value="0" />

</node>
<node pkg="image_view" type="image_view" name="image_view">
<remap from="image" to="usb_cam/image_raw" />
</node>
Expand Down