There's another method to try... the event procedure method. CHDK uses MoveFocusLensToDistance to set focus.The following 2 calls are only needed once:Code: [Select]call_event_proc("FA.Create")call_event_proc("InitializeAdjustmentFunction")After these are executed, MoveFocusLensToDistance becomes available, and can be used likeCode: [Select]call_event_proc("MoveFocusLensToDistance", <distance>)where <distance> is a 32bit integer. Since this is a Canon function, it has immediate effect. Calling it only makes sense in AF lock.The call_event_proc() function is only available when "Lua native calls" are enabled in the Misc. menu (CHDK 1.2).
A4000 100d firmware dump by alonsoac: https://www.box.com/shared/jco60ocuna353t5tditg
Quote from: nafraf on 06 / October / 2013, 08:28:56A4000 100d firmware dump by alonsoac: https://www.box.com/shared/jco60ocuna353t5tditgElph320, but the diagnosis is correct
Quote from: reyalp on 06 / July / 2013, 17:37:08On exception: If the camera has an MF mode, set_focus() should take immediate effect.That's good to know. I'll try using my sucky method for setting the focus, but if it get's too frustrating, I'll buy a couple of cameras with support for manual focusing. The SX150/160 are pretty cheap these days.
On exception: If the camera has an MF mode, set_focus() should take immediate effect.
I finally got back to this, and it more or less works! I lock the autofocus, call MoveFocusLensToDistance, and can then shoot without crashing the camera. There is some weirdness with the actual values (get_focus() returns some value about 40 or 50 mm below what was passed to the function), but that's okay. I can experimentally figure out what passed in value gives the best focus in my rig, and I can consistently use it after that. Thanks!
Now that CHDK usbremote and CHDKPTP seem to be able to co-exist [http://chdk.setepontos.com/index.php?topic=8769.msg105488#msg105488] i'm interested in investigating a multi-cam setup.
Based on reyalp's most interesting wifi investigations my initial purchase decision is torn between [2 of] a wifi enabled model and [2 of] 'something else'.Anyway, based on your A4000 IS focus 'challenges' - might you have chosen a couple of SX150/160 [rather than A4000 IS] to begin your investigations ? - i'd be interested in your opinion.
How many raw framebuffers does the A4000IS have? If it's more than one, how do I get the addresses and ensure that the camera doesn't overwrite the one I'm using while it captures a raw (into another buffer)?I have some evil stuff I'm trying to do on raw images, but I need to have at least two resident in memory at the same time in order to get reasonable performance. I don't have a problem directly using the packed pixel data format (or fitting the data in that space).
Started by capebio
General Discussion and Assistance
Started by Mulledy
Started by capebio
Started by achinz
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by manoweb
« 1 2 »