Focusser - a script for running linear or exponential focus variations - page 2 - Script Writing - CHDK Forum

Focusser - a script for running linear or exponential focus variations

  • 11 Replies
  • 5232 Views
Re: Focusser - a script for running linear or exponential focus variations
« Reply #10 on: 21 / March / 2015, 16:14:34 »
Advertisements
Looks good enough and gives correct values for the manually selected focus mode on my D30.

Thanks!
Canon Powershot D30 w/ CHDK 1.3.0

Re: Focusser - a script for running linear or exponential focus variations
« Reply #11 on: 21 / March / 2015, 18:58:18 »
Well, here's Focusser 2.0.

It tries to get the camera into a state where set_focus(...) works using waterwingz' get_mf() and get_sd_over_modes().
If set_mf(...) does not seem to work the script tries to find clicking "left" up to 11 times until get_mf() is true. It tries to set everything back to what it was when the script started.

I'm not 100% sure I am correctly interpreting get_sd_over_modes() and I have no idea if all CHDK-ready cameras use "left" as the entry to the focus menu.
The script works on my Powershot D30.
Canon Powershot D30 w/ CHDK 1.3.0

 

Related Topics


SimplePortal © 2008-2014, SimplePortal