>-1 = infinity.
OK, it seems also like get_focus() returns -1 when the camera can't focus,
the objects were less than 10 feet away but hard to focus on, due to low light.
It could be that the camera sets the lens to infinity when trying to guess focus
For infinity I use:
set_prop(6, 3)
I wonder if set_focus(-1) will do it too.
>On a lot of cameras you have to be in MF for set_focus to work.
OK.
It works fine on the SX40HS-100i and on the A590is-101b.
I always have the cameras on M mode and the lens on AF not on MF.
>Also the camera may not be able to focus at any arbitrary value; but
>only at specific steps.
>In this case get_focus won't return the value passed to set_focus.
Will these steps be only the same values that get_focus() returns?
I have used some of them and it works fine.
Thanks, Phil.