KAP & UAV Exposure Control Intervalometer Script - page 79 - Completed and Working Scripts - CHDK Forum

KAP & UAV Exposure Control Intervalometer Script

  • 1068 Replies
  • 410863 Views
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #780 on: 24 / March / 2016, 09:19:36 »
Advertisements
I also added a shut_down() function after the same "if" statement for the camera to shut down after the mapping is complete and protect the lens.
That will cause the camera to power down with the shooting "half-press" still engaged.  You will also lose the last parts of the log file and any configuration things modified by the script will not be reset.

A better choice would be to call a release('shoot_full') followed by the scripts' restore() function.

Or alternatively,  just enable the USB Timeout (secs 0=off) script parameter with a long timeout (30 seconds maybe).
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #781 on: 25 / March / 2016, 06:39:31 »
Yeah I was suspecting something like that.
Went with calling the two functions as you suggested and it works just as good.


*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #782 on: 31 / March / 2016, 18:15:11 »
Hello, I'm using KAP 3.7 on 2 Canon S110 with CHDK 1.4.1
Trigger by USB transistor (Pixhawk)
it works very well but the display off function let the display go on every time it takes a picture, then goes off again, is this normal or I made some mistakes? I use 2 identical cameras at the same time.
Below my script parameters.

Thank you very much

Code: [Select]
--[[
  KAP UAV Exposure Control Script v3.7

  Licence: GPL (c) 2013, 2014, 2015, 2016 by waterwingz
  -- with contributions from wayback/peabody & Naccio
  Please check for the latest version (and documentation) at :
     http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script

@title KAP UAV 3.7
@chdk_version 1.3

@param     i Shot Interval (sec)
  @default i 2
  @values  i Burst Fast 2 3 4 5 10 15 20 30 45 60 90 120 180 240 300

@param     o Shutdown (minutes, 0=never)?
  @default o 0
  @range   o 0 240
@param     s Total Shots (0=infinite)
  @default s 0
  @range   s 0 10000
@param     j Power off when done?
  @default j 0
  @range   j 0 1
@param     b Display Off?
  @default b 1
  @values  b No Yes Delayed
@param     d Start Delay Time (sec)
  @default d 0
  @range   d 0 60000

@param     g Exposure Bracketing
  @default g 0
  @values  g Off +/-0.33 +/-0.66 +/-1.00 +/-1.33 +/-1.66 +/-2.00
@param     e Exposure Comp (stops)
  @default e 5
  @values  e -2.0 -1.66 -1.33 -1.0 -0.66 -0.33 0.0 0.33 0.66 1.00 1.33 1.66 2.00
@param     z Zoom position
  @default z 0
  @values  z Off 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
@param     c Focus @ Infinity
  @default c 1
  @range   c 0 1

@param     y Tv Min (sec)
  @default y 5
  @values  y None 1/60 1/100 1/200 1/400 1/640 1/800 1/1000 1/1250 1/1600 1/2000
@param     t Target Tv (sec)
  @default t 7
  @values  t 1/100 1/200 1/400 1/640 1/800 1/1000 1/1250 1/1600 1/2000 1/5000
@param     x Tv Max (sec)
  @default x 3
  @values  x 1/1000 1/1250 1/1600 1/2000 1/5000 1/10000
@param     f Av Low(f-stop)
  @default f 1
  @values  f 1.8 2.0 2.2 2.6 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0
@param     a Av Target (f-stop)
  @default a 2
  @values  a 1.8 2.0 2.2 2.6 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0
@param     m Av Max (f-stop)
  @default m 13
  @values  m 1.8 2.0 2.2 2.6 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0
@param     p ISO Min
  @default p 0
  @values  p 80 100 200 400 800 1250 1600
@param     q ISO Max1
  @default q 2
  @values  q 100 200 400 800 1250 1600
@param     r ISO Max2
  @default r 3
  @values  r 100 200 400 800 1250 1600
@param     n Allow use of ND filter?
  @default n 1
  @values  n No Yes

@param     v Video Interleave (shots)
  @default v 0
  @values  v Off 1 5 10 25 50 100
@param     w Video Duration (sec)
  @default w 10
  @range   w 5 300

@param     u USB Shot Control?
  @default u 2
  @values  u None On/Off OneShot GntWire Pixhawk
@param     k USB Timeout (secs 0=off)
  @default k 60
  @range   k 0 240
@param     h Shot Sync LED
 @default  h 0
 @values   h Off 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

@param     l Logging
  @default l 3
  @values  l Off Screen SDCard Both

Spares : none

--]]

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #783 on: 31 / March / 2016, 18:40:58 »
it works very well but the display off function let the display go on every time it takes a picture, then goes off again, is this normal or I made some mistakes?
The display should stay off and not come back on after each shot when the Display Off function is enabled.  However, you need to set the Review setting in the Canon shooting menu to Off for this to work.  Do you have it set that way ?
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #784 on: 31 / March / 2016, 19:11:01 »
Yes I have set Review OFF, all the settings here:
Code: [Select]
Camera mode in "P"  or Program (not Auto, M, SCN, or Live)
ISO in Auto
Continuous AF Off (setting the camera in P mode will automatically turn this off on cameras without this menu option)
AF Frame not in Tracking AF
Servo AF Off
Safety MF Off
IS Mode Off (may not be necessary for KAP but should be off for UAV)
Review Off
Lens retract 0 sec.

CHDK reset to default, however I can't remove the disable overrides option, I remove and it returns, maybe the script wants it

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #785 on: 31 / March / 2016, 19:42:39 »
Yes I have set Review OFF, all the settings here:
Okay - that's good.   It turned out that was the problem here : link

Quote
CHDK reset to default, however I can't remove the disable overrides option, I remove and it returns, maybe the script wants it
The script will work either way.  The reason it turns off is likely the "Disable Overrides on Startup" menu option at the very bottom of the CHDK Enhanced Photo Operations menu. If it is selected then deselect it.

I've tested with your settings (including Shot Review = Off) on my G10 and S100 and both cameras keep the LCD off completely while shooting.

So either the S110 CHDK port works differently or I am missing something else important in your setup.  Can you please post the KAP.LOG file from the top folder on your SD card?

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #786 on: 31 / March / 2016, 19:59:47 »
In attachment the file requested and a video too, thank you


Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #787 on: 31 / March / 2016, 21:07:49 »
In attachment the file requested and a video too, thank you
Thanks for the video and log.  I can reproduce the problem now.  Might take me a bit to fix and test - I'll post something to try shortly and add the fix to the next script updated this weekend.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #788 on: 31 / March / 2016, 21:20:49 »
Wow this is great, thank you very much! :xmas


Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #789 on: 31 / March / 2016, 21:25:00 »
Wow this is great, thank you very much! :xmas
Try this?
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics