USB remote-pre-focus double click? or add to script - Script Writing - CHDK Forum  

USB remote-pre-focus double click? or add to script

  • 3 Replies
  • 1939 Views
USB remote-pre-focus double click? or add to script
« on: 10 / July / 2010, 18:52:38 »
Advertisements
I have a very specific issue: I use CHDK for KAP, Canon SD300 and Gentle-CHDK USB. CHDK works fine. I enable USB remote and the servo that came with my Brooxes KAP kit triggers the camera every 10 seconds-no script needed. I also have been able to use many of the intervalometer scripts available, with the benefit of taking shots every 5 seconds. The problem is this: if I use the USB trigger, the first shot focus locks (pre-focus) the camera and the second shot takes the picture. This is actually good, b/c I'm getting better shots, but I end up with one shot every 20 seconds-much too few for my taste.

If I use a script, the camera does not pre-focus, and though I get more shots, more are out of focus.

Is it possible to increase the rate of the Gentle-Chdk-USB (the servo also rotates the camera after each shot)? or...

Is it possible for a simple intervalometer script to give a command to pre-focus and then a second command to take the picture? I haven't found one (the one I tried, lapse.lua did not run)

Re: USB remote-pre-focus double click? or add to script
« Reply #1 on: 02 / September / 2011, 17:45:01 »
Isn't there an answer to this issue?
We are in a similar problem with this 2-step picture taking.

Re: USB remote-pre-focus double click? or add to script
« Reply #2 on: 02 / September / 2011, 19:44:41 »
How about something like this :

Code: [Select]
@title Pre-focus Intervalometer
@param a Number of seconds between shots
@default a 5
@param b  Number of shots
@default b 5

for q=1 to b
  print "Locking exposure"
  press "shoot_half"
  sleep 3000
  print "Shoot ", q, " of", b
  click "shoot_full"
  release "shoot_half"
  print "sleep"
  sleep a*1000-3000
next q

end
Ported :   A1200    SD940   G10    Powershot N    G16

Re: USB remote-pre-focus double click? or add to script
« Reply #3 on: 03 / September / 2011, 06:10:51 »
People who use SDM for KAP simply use this script :-

@title KAP
auto_focus_first
time_lapse a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t, u
end

See :-
http://stereo.jpn.org/eng/sdm/ubasic.htm
http://stereo.jpn.org/eng/sdm/tlapse.htm
http://stereo.jpn.org/eng/sdm/tlapse2.htm


 

Related Topics