@title cshot@param d Focus 1=inf 2=hyp@default d 2--function press_half() press("shoot_half") repeat sleep(10) until get_shooting()endfunction release_half() release("shoot_half") while(get_shooting())do sleep(10) endend--set manual focus if d>0set_aflock(0)if(get_focus_mode()~=1 and d>0)then press_half() click("left") release_half()endif(d~=0)then if(d<0)then d=-d end if(d==1)then d=-1 elseif(d==2)then d=(get_dofinfo().hyp_dist*110)/100 end --sometimes d is truncated below hyp-dist and far limit isn't inf (-1) --multiplying by 1.1 (or 110/100 integer math) corrects this set_focus(d) sleep(500)endpress("shoot_full") -- hold shutter down in continuous mode for entire flightrepeat until false
My main problem with the camera is that I wanted to use it for aerial photo from a UAV, but images are always out of focus with any combination of settings imaginable.
The advice from lapser to set focus from script is great. That works fine on the ground and I will test from the air on Monday.
Quote from: alonsoac on 18 / May / 2014, 00:23:16The advice from lapser to set focus from script is great. That works fine on the ground and I will test from the air on Monday.Interesting. In 1.3.0, the script MF stuff has gone through a lot of revisions to make it work as well as possible - or at least to not crash. It looks like this is another example of the menu SD overrides not being in that state (yet).
This is the part of my time lapse script I use to set the focus at the beginning. It works for the SX260, G1X, SX50, and D20.
With the SX50hs in continuous-shooting mode, have you managed to get focus-override (as a menu option) to work ?My camera crashes.
Also, setting manual-focus mode with a script command does not display the Canon gui (the vertical bargraph).
Started by oronocova Hotwire! Hardware Mods, Accessories and Insights
Started by Ron Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by alkasber « 1 2 3 4 5 » General Discussion and Assistance
Started by passengerairbag General Discussion and Assistance
Started by herbert.kanner General Discussion and Assistance