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

KAP & UAV Exposure Control Intervalometer Script

  • 1068 Replies
  • 450043 Views
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #890 on: 22 / September / 2016, 06:10:27 »
Advertisements
With Canon IXUS 160

2016Aug28 18:46:20    KAP 3.7 started - press MENU to exit
2016Aug28 18:46:20    CHDK 1.4.1-4634 ixus160_elph160 100a May 27 2016
2016Aug28 18:46:20    Mode:PLAY,Continuous_AF:0,Servo_AF:0 Drive:0
2016Aug28 18:46:20     Tv:1/1000 max:1/2000 min:10 ecomp:0.0
2016Aug28 18:46:20     Av:4.0 minAv:2.8 maxAv:8.0
2016Aug28 18:46:20     ISOmin:100 ISO1:400 ISO2:800 M:0
2016Aug28 18:46:20     Focus:AFL  Video:0 USB:2:1 Tmo:0
2016Aug28 18:46:20     AvM:2 int:15 Shts:0 Dly:0 B/L:0
2016Aug28 18:46:21    waiting on USB signal
2016Aug28 18:49:14    USB start signal received
2016Aug28 18:49:17    Mode switched to P
2016Aug28 18:49:20    Logger : log file updated.
2016Aug28 18:49:27    timeout after shoot full
2016Aug28 18:49:21.490 1) IMG_0384.JPG
2016Aug28 18:49:27     meter : Tv:1/320 Av:3.2 Sv:100 750:750
2016Aug28 18:49:27     actual: Tv:1/1000 Av:- Sv:250 Temp:27
2016Aug28 18:49:27             AvMin:3.2 NDF:NDout foc:1.2m
2016Aug28 18:49:28.040 2) IMG_0385.JPG
2016Aug28 18:49:32     meter : Tv:1/1000 Av:3.2 Sv:250 750:750
2016Aug28 18:49:32     actual: Tv:1/1000 Av:- Sv:250 Temp:27
2016Aug28 18:49:32             AvMin:3.2 NDF:NDout foc:infinity

this set wrong?

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #891 on: 22 / September / 2016, 13:11:22 »
this set wrong?
That looks like a normal log file. Are you having a problem with using the script?  Can you tell me what is not working? And tell me what equipment you are using?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #892 on: 22 / September / 2016, 18:12:03 »
I´m using canon ixus 160

The picture (Attachment) is not in focus.
The problem is the set uav.kap or the UAV vibration?

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #893 on: 22 / September / 2016, 19:09:45 »
The picture (Attachment) is not in focus. The problem is the set uav.kap or the UAV vibration?
Blurred UAV pictures can be caused by several things.  Determining the actual cause can take some time and patience.

In this case,  the shutter speed at 1/1000 is quite fast so this is likely not a problem with motion blur.

The camera is set to focus at infinity using CHDK , but some Powershots do not actually focus well this way.  You can test this by using the script to take pictures of distant objects with camera held steady (tripod?) on the ground.  If distant objects are crisply focussed,  then the script & camera are working properly with focus at infinity.

Try disabling the "Focus @ Infinity" option in the script parameters menu.  Do the photos look better?

If the camera focuses correctly at infinity, that leave UAV vibration as the problem.  How is your camera mounted to the UAV?

The picture might be in focus but vibration makes it appeard blurred.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #894 on: 25 / November / 2016, 20:48:43 »
However,  I have a customer with a different S110. His flashes the LED for close to 1 second. That causes extra CAM events in the Pixhawk log. A resistor change may help hold the hi / lo state, but I'd like to figure out why the LED stays on so long on his S110. It's not the shutter speed. That will make the LED stay on if you make it long.
If all the hardware is the same then i guess that leaves two options.

The most likely option would be some difference in either the Canon menu settings or the CHDK settings. I'm not too sure what that might be but having RAW Enabled (either Canon RAW or CHDK RAW/DNG) would certainly do it.

The other option might be a slow SD card, or maybe an almost full one, or one with a really large log file.  The script writes to the log file in between the points where it turns the LED on and off.

Quote
Any idea where to start?
I can add something to log the actual on & off times for the LED if you can get him to run a test version and report back.

Hi waterwingz and friends, I'm very happy using the kap_uav_3-7a.lua waterwingz kindly modified some month ago.
I'm going to install an emlid RTK system, how about using the Canon S110 LED to log picture time, is it possible and how to do it? I bought a cable for Sony hotshoe, easy to remove the hotshoe adapter and the RTK has a logging software.
Thank you

KAP & UAV Exposure Control Intervalometer Script
« Reply #895 on: 26 / November / 2016, 19:56:24 »
I'm going to install an emlid RTK system, how about using the Canon S110 LED to log picture time, is it possible and how to do it? I bought a cable for Sony hotshoe, easy to remove the hotshoe adapter and the RTK has a logging software.
I'm not sure that I fully understand your request.  The existing script already has the ability to "blink" any of the camera's LEDs at the exact moment the exposure starts (or at least as close as technically possible).  Do you need something else or different?
« Last Edit: 26 / November / 2016, 20:09:35 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #896 on: 26 / November / 2016, 23:25:28 »
I'm going to install an emlid RTK system, how about using the Canon S110 LED to log picture time, is it possible and how to do it? I bought a cable for Sony hotshoe, easy to remove the hotshoe adapter and the RTK has a logging software.
I'm not sure that I fully understand your request.  The existing script already has the ability to "blink" any of the camera's LEDs at the exact moment the exposure starts (or at least as close as technically possible).  Do you need something else or different?
What is the parameter on the script and how do you catch the "blink" of the led on the S110? Thank you
I found this:
@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

« Last Edit: 26 / November / 2016, 23:27:00 by lanzo »

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #897 on: 27 / November / 2016, 01:22:01 »
What is the parameter on the script
<snip>
I found this:
@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
Every Canon P&S camera is a bit different from the others. But a CHDK script can turn each of the camera's LED's on & off. It does this using the LED number - which is simply a value assigned during CHDK porting to each LED by the developer.  There is no standardization about what number turns on which LED as each camera is different.  So you have to either read the developer's notes (usually in the camera's lib.c file),  or pick the number by trial & error, or use a small script that scrolls through all values slowly allowing you to figure out what number corresponds to each LED.

Quote
and how do you catch the "blink" of the led on the S110? Thank you
I'm not sure that you understand what is intended here? The script will cause your camera (your S110) to turn an LED on when the camera's shutter opens, and off again shortly after it closes.  It's up to your flight controller and its hardware to detect that "blink" and do something with it.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lanzo

  • *
  • 28
Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #898 on: 27 / November / 2016, 11:11:30 »
Yes mate, I am searching for someone who already did the hardware to detect the "blink"

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #899 on: 27 / November / 2016, 11:40:11 »
Yes mate, I am searching for someone who already did the hardware to detect the "blink"
I worked with bchristal on the original implementation.  You can try sending him a PM and I'll send him an email directly to ask.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal