netptl39
ch1up - works as it should: with interval set to 0 it makes sets shooting parameters and then it starts shooting at
1.05s interval with the same settings. if camera moved picture quality degrades.
Can you be a little more specific? Is the focus off? Or the exposure? Remember, when shooting in continuous mode, the script locks the focus & exposure after the first shot. If you point the camera somewhere different, the script does not adjust. This should probably not be a problem when mappping if you start your shooting sequence once the UAV is on station but may seem confusing on the ground.
Once CHDK 1.4.0 is released, I'll add the ability to have the exposure adjust "on the fly" but I can't do that in 1.3.0 effectively.
ch1mid and ch1down I am not sure how it should work.
I don't have a pixhawk so that code was just a guess. In your PM you mentioned
"ch1mid - gives me lens error and is shuts down". It would be interesting to see the
ROMLOG.LOG file for your camera - can you go to the CHDK debug menu, dump the log, and post it here?
Note that I see something like that on my
A1200 but not
S100 when the script tries to shut itself down. I think it has something to do with the script trying to do things while a 'half press' is active but I have not been able to narrow it down.
[code]
2015Jun20 17:41:20 KAP 3.6 started - press MENU to exit
2015Jun20 17:41:20 CHDK 1.3.0-4132
s110 102b Mar 31 2015
2015Jun20 17:41:20 Mode:M,Continuous_AF:0,Servo_AF:0
2015Jun20 17:41:20 Tv:1/1000 max:1/2000 min:10 ecomp:0.0
2015Jun20 17:41:20 Av:4.0 minAv:2.8 maxAv:8.0
2015Jun20 17:41:20 ISOmin:100 ISO1:400 ISO2:800 M:800
2015Jun20 17:41:20 Focus:MF Video:0 USB:3 Tmo:0
2015Jun20 17:41:20 AvM:3 int:0 Shts:0 Dly:0 B/L:0
2015Jun20 17:41:20 Warning : camera ISO not in AUTO mode
2015Jun20 17:41:21 waiting on USB signal
2015Jun20 17:42:14 USB start signal received
2015Jun20 17:42:17 Loggger : log file updated.[/code]
Strange that no image data is recorded. If you are getting a crash in the
ch1mid code then that could explain it - the log file only writes to the SD card occasionally and never when continuously shooting. I did not want the delay from writing a big file to throw off the fast shot rate. Might need to reconsider that if the log buffer gets too large.
Note that the script is complaining about you having your camera's ISO setting not in AUTO. That can cause problems on some models - YMMV.
I'm looking at allowing Canon continuous mode shooting. On high end models like the
S110 that might let you go even faster and the script should still be able to accurately time stamp each image if I get it right.
Meanwhile, back to looking at that crash in ch1mid.