I've recently enjoyed revisiting CHDK, after initially looking at it many years ago, and then moving into EOS world, and of course Magic Lantern.
Having just purchased a second hand G7X and G1X, I'm really enjoying myself with CHDK Lua.
But...life is not always easy
Two things continue to confuse me, as I don't think I can get to the bottom of things.
First, is changing exposure between images and thus adopting the best approach, eg use 'just' shoot, or use some of
@reyalp quick shooting code, ie with hooks.
I think in my latest script (
https://chdk.fandom.com/wiki/Landscape_Focus_Bracketing_:_perfect_near_to_far_focus_brackets) I've adopted a reasonably robust approach to shooting and changing exposure. But I would be interested in what others think.
Secondly, is changing focus and (sic) knowing when to continue with the script because focus has been set.
My current approach is based on delays, eg sleep(500), but this seems 'dodgy' to me
So my question is: what is the 'best practice' that others have adopted for exposure and focus control, and, of course, doing both together.
That is, 'only' progressing in the script if exposure and focus are indeed set, and hence their values can be safely accessed by Lua.
BTW I appreciate that this may be a dead topic and hence I would understand if there were no responses