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

KAP & UAV Exposure Control Intervalometer Script

  • 1068 Replies
  • 450031 Views
KAP & UAV Exposure Control Intervalometer Script
« Reply #850 on: 06 / June / 2016, 17:46:03 »
Advertisements
it's hard to get to the MENU button to turn it off...in the past, I've just used the shutter button, which would be far easier.  Is there a setting that I'm missing?
The default CHDK method of using the shutter button to halt a script essentially stops the script dead in its tracks. So the kap_uav.lua script disables that action. This allows the script time to clean up and close its log file - something not otherwise possible even when the script uses the "restore" functionality.

Having said that, it should be possible to trap a shutter full press and convert it to work like a "menu" key exit.  I'll post an update in the next couple of days.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #851 on: 13 / June / 2016, 02:18:52 »
Hi

I am using a 3DR Y6 with Pixhawk together with a simpleshutter cable to remotely control a Canon S90.  I tried to setup the shutter as requested on vendors page (http://www.mobilexcopter.com/files/Simple_multi_shutter_Pixhawk_settings.pdf) using AUX2 on Pixhawk with CAM_TRIGG_TYPE 1. I installed the latest CHDK and the latest KAP_UAV Script on the camera and configured it according to the wiki page.
My problem now seems to be how to properly trigger the camera as the script is running and the shutter cable is indicating that it is sending some pulse to the camera. On random occasions the camera takes a picture but most of the time I get a message stating usb pulse =  idle pulse ($ msec) which seems to be the default if the pulse does not match anything known. The pulse length seems to be different no matter what I set the CAM_Duration to. Sometimes the camera takes a picture but then does not seem to react to any further input and does not show any sign of being alive anymore.

How do I need to configure the CAM_Duration to make this work properly ? I tried 0, 1 , 5 , 10  but none of these seem to produce a reproducible result. 
Is this some issue of the shutter cable or does the script need some adjustment to work with that cable and the pulse it sends ?

Greets from Vienna

KAP & UAV Exposure Control Intervalometer Script
« Reply #852 on: 13 / June / 2016, 07:58:31 »
I tried to setup the shutter as requested on vendors page (http://www.mobilexcopter.com/files/Simple_multi_shutter_Pixhawk_settings.pd
Thanks for the link - I had not seen that page before.

Quote
I installed the latest CHDK and the latest KAP_UAV Script on the camera and configured it according to the wiki page.
Thanks for attaching your log file.  Everything looks correct in your setup but the log entries show that the pulses the camera sees from the pixhawk seem to be somewhat random in length.

Quote
How do I need to configure the CAM_Duration to make this work properly ? I tried 0, 1 , 5 , 10  but none of these seem to produce a reproducible result. 
Is this some issue of the shutter cable or does the script need some adjustment to work with that cable and the pulse it sends ?
As I don't own a pixhawk I will check this with someone who does and uses the script.

Update 1 :  I took a longer look at the link you posted. The setup shown is designed to produce "shoot pulses" that are at least 100 mSec in length (0.1 seconds).  This is not compatabile with kap_uav.lua script's  USB Shot Control Mode = pixhawk.  That's the bad news.  The good new is that if you set the USB Shot Control Mode = OneShot it should work (albeit at a slower shot rate of at least 2 seconds per shot)

I'll look for some better documentation about how to configure the pixhawk for "high speed" shooting.

Update 2 : link to instructions for high speed shooting http://tuffwing.com/support/Install_KAP_UAV_Exposure_Control_Script.html


Update 3 : updated link http://tuffwing.com/support/pixhawk_camera_trigger_cable.html
« Last Edit: 30 / July / 2016, 14:40:26 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #853 on: 14 / June / 2016, 17:25:55 »
Setting it to "OneShot" seems to work at least when manually triggered via Missionplanner ;)

I am going to give it a try soon , thanks for the effort :)

Greets

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #854 on: 22 / June / 2016, 12:13:07 »
I'm using the KAP script to trigger a Canon ELPH 110 HS from a Pixhawk with a Gentwire USB2 cable.  I've looked at and implemented all the links I've seen regarding this, but I've been having tons of trouble getting it working properly though.  Right now, when I have USB Shot Control set to Burst or OneShot the camera starts shooting in Continuous mode and doesn't stop.  I've had it working before, but it was triggering too slowly so I messed around with a bunch of stuff.  I can't for the life of me figure out where this is set or how to change it.  Can someone point me in the right direction?
« Last Edit: 22 / June / 2016, 12:31:15 by cndnflyr »

KAP & UAV Exposure Control Intervalometer Script
« Reply #855 on: 22 / June / 2016, 12:26:44 »
Can someone point me in the right direction?
The script ignores all of the settings from the CHDK USB remote menu so it does not matter how you set them.

Please post the KAP.LOG file from the root folder of your SD card so that I can take a look at your setup.
« Last Edit: 22 / June / 2016, 12:29:11 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #856 on: 22 / June / 2016, 12:33:03 »
Of course!  Meant to and forgot, here's the log.

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #857 on: 22 / June / 2016, 13:25:29 »
Of course!  Meant to and forgot, here's the log.
Thanks.   I took a quick look and did not see anything wrong with your setup.  There were a lot of changes recently made tuning "pixhawk" mode for sub one second shooting. It's possible something broke in "gentwire" mode as a result.  I don't think many people are using that device so a new bug may not have surfaced yet.   I'll take a closer look tonight at the logic.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #858 on: 23 / June / 2016, 01:07:49 »
I'm not sure it would be an issue with the logic of the script.  It was working for me last week, albeit slowly.  I can't figure out why it would be going into continuous mode.  And I think the way it was working last week isn't working now.  I'm pretty new to using this, sorry i'm not more definite.  I was hoping it would be a no brainer, but maybe not.

Re: KAP & UAV Exposure Control Intervalometer Script
« Reply #859 on: 24 / June / 2016, 14:15:18 »
Hi Waterwings


I was asking you for the Helium baloon,  I launch finaly on 6th of June with my classroom.
Your KAP scripts was perferct and I want really want to thank you.
As a proof of your wonderful script i try to send this pictures about 3.000 and 75.000 feet over the ground.


Glad to met you


Olivier










 

 

Related Topics


SimplePortal © 2008-2014, SimplePortal