Hi, if you built the uvc gadget code yourself, then rebuilding it with this line commented out should do it.
Not touching the lens at all may be undesirable, however, as you have no idea where it will be. So setting it to a fixed position may be preferable. Perhaps try replacing that line bywhich should set the lens to a focal distance of approximately 1m (units above are dioptres, namely 1.0 / distance-in-metres).
Not touching the lens at all may be undesirable, however, as you have no idea where it will be. So setting it to a fixed position may be preferable. Perhaps try replacing that line by
Code:
src->controls.set(controls::LensPosition, 1.0);Statistics: Posted by therealdavidp — Mon Mar 03, 2025 9:04 am