usb_cam_test: explicitly configure contrast and saturation #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In commit ros-drivers/usb_cam@b25c2938, contrast and saturation
parameters were added to usb_cam. Unfortunately these were hard-coded to
somewhat strange values. Both were turned down towards the bottom of the
range explaining the low-contrast, low-saturation images.
In the same commit, the default focus was set at a very near value
leading to blurry images.
The combination of these factors lead to the appearance of a very broken
webcam indeed.
Set the contrast, saturation and focus explicitly in the launch file and
add a comment explaining their presence. Launch files which use the
usb_cam node should probably explicitly set contrast and saturation from
now on.