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

Revision history [back]

As far as I can tell, libusb_cam does not have any code for setting the V4L2_CID_FOCUS_ABSOLUTE property, which means that you cannot set the focus value without editing the usb_cam driver.

At the same time, editing a local copy of the driver should not be too hard. Take a look at the v4l2 specification here, and see how to set the property. Alternatively, you can use the uvc_camera package which I believe already sets this property, but hard codes the value.