OpenROVers,
Thanks for the build session on Sunday afternoon. While I did not
make as much progress as I would have liked, I did get the chassis
built.
Someone told me (Eric) that there was a likely move away from the
HD-5000 webcam because among other things the autofocus would
periodically refocus blurring the image every few seconds. Very
annoying.
I did some research and here is how you disable auto focus on
Ubuntu with the v4l2 command line tool uvcdyntrl:
- uvcdynctrl -s "Focus, Auto" 0
Then to set it manually enter the command:
- uvcdynctrl -s "Focus (absolute)" $amt
where $amt is between 0 and 40.
The smallest focal length is set with 40 which will focus on an
object about Two inches away. The value 0 is setting the distance
at infinity. 20 seems to be a good midpoint and seeing as we will
likely be in not so clear water, having a focal depth that is
variable rather than set at infinity is a good idea that should
bring clearer images in murky water.
I tested this with ubuntu on my x86 based laptop and it works
great. I did not attempt on the beaglebone.
Can someone try this on the beaglebone running ubuntu?
It may be as simple as: sudo apt-get install uvcdynctrl
Not sure what other webcams were mentioned, but before we design
this webcam out because of autofocus, know that it is software
controllable.
--
Sincerely,
Stephen Olsen
Ste...@EmbeddedArtisan.com
(510)589-3245