@A1ex
From my perspective/experience I would say the Lua API documentation needs a bit of a (quick) scrub, eg:
- Giving a hint at what things (really) mean without the developers inside knowledge, ie a few words or sentence. For example, wait currently says "wait: (bool) (default true)"; but wait for what - I'm sure I was told it was wait for AF, but now I know I'm wrong. So, as an example, could be "wait: (bool) (default true) until current lens move related commands finish. Also a few words on why use false or true, ie the impact of using false and (maybe) the use case. I'm only talking about short sentences, not paras of text;
- Equally important in the Lua API documentation, say what isn't implemented yet, or where there are 'limitation'. For example, not all the Event.x stuff is implemented, but, unless you were a developer, you wouldn't know. I've tried to trawl back through the ML C code to better understand the Lua calls/functions etc, but I simply lose my way.
I think you know I wish to support Lua developments, but I think the first cut (then people like me can test/comment/review/add value) would be for the developers, or those with knowledge of the ML C connectivity, putting a few more things in the Lua API parameter area. The test should be, would a non-developer know what this does/means?
Having said this, I appreciate the developers have other 'pressing needs'. However, I would argue that Lua is a real (ML) star and should be one of our 'priorities' in implementing/enhancing/fixing. Scripting allows customisation beyond the core ML intrinsic capability. For example, my landscape auto exposure & focus bracketing, with diffraction corrected dof info and Dual ISO etc, means Canon (ML) users have a unique tool; that no other camera system has, even with add-ons like Promote Remote. I wish to develop this further, ie make more intelligent/robust, but before I do I wish to know more about some of the Lua calls and, maybe flag up 'missing' functions/calls.
Cheers
Garry