Is there something similar to this to set the standard Canon UI shutter (e.g. 1/125)?
Excellent - are you able to supply any test results?
mc:shoot({usb_pwr_sync=true, shots=2})
${shotseq}
I've tried using:Code: [Select]mc:shoot({usb_pwr_sync=true, shots=2}) and this works, but in order to take the second shot I have to re-press the trigger button, and I have to wait a few seconds in between shots to get it to work. Is there any way to make it so that I press the trigger once and both shots are taken really quickly?
For some reason the shot sequence of one of the cameras is 1 ahead of all the others.
If you want hardware precision sync for the second shot, it needs to be triggered by the remote.
But with one push/normal/sync, the sequence is :CHDK detects the 0V - 5V transistion on the USB power pinCHDK sets the bit the makes the camera think that the shutter button has been pressed half way.CHDK waits for the camera to indicate the focus & exposure have been set.CHDK sets the bit the makes the camera think that the shutter button has been pressed fully.CHDK waits for the USB 5V line to change back to 0VCHDK detects the 5V - 0V transistion on the USB power pinCHDK clear sets the bits that makes the camera think that the shutter button has been half & fully pressed.In this process, the actual shot is released at step 4 but pauses waiting for the USB 5V to go to 0V. It then occurs as quickly as the Canon firmware can do so.So in the one push/normal/sync, there is no "half press" state that you can hold & maintain - CHDK goes from nothing to half press to full press as quickly as it can. AND IT FOCUSES AND SETS EXPOSURE DURING THE HALF PRESS JUST LIKE YOU OBSERVED.
Most of my recent, synced single shot, testing has concentrated on setting things up with multicam.lua then enabling the remote and subsequently turning off script and closing the ptp connection. Having taken the single shot (one or twopush), restart connection, restart script and download (aim being, hopefully, increased reliability).
A requirement to take two, synced, shots, in quick succession, on all cameras had mostly escaped me. With respect to that, the following is loosely described as I only vaguely understand what is or could be possible.
...though not the fact that the hard loop waiting for remote may cause USB timeouts.
!mc:shoot({remote_sync=true,remote_on_wait=30000,shots=2})
This means if you use a single short pulse, the time in the busy loop is low enough not to hurt the USB connection, but the final trigger is still done with full precision.I added code to support this in chdkptp r841
Shooting as fast as possible under program control needs one more piece: Instead of sending status after all the shots are done, shoot_burst_usb_pwr needs an option to send a message each time it's ready. This should be relatively simple to do.
This seems unnecessary convoluted. Does multicam with usb_pwr_sync not work?If available, using one of the new alternate remote inputs avoid USB related stability issues, though not the fact that the hard loop waiting for remote may cause USB timeouts. These should be easy to add on any camera with the required hardware.
function cmds.usb_sync_wait() --e.g. to run !return mc:cmdwait('usb_sync_wait') usb_sync_wait(1) press('shoot_full') write_status(true) sleep(9000) --> drop from 5V to 0V in here release('shoot_full')end
From this, the minimum prefocus period was 680ms, the maximum 770ms
So is the time you have to wait between taking shots just the time it takes for the camera to process the picture?
Apparently if you're using fixed pattern projectors in your camera array the time between the first shot (where the projectors are on) and the second shot (without the projectors) should be as little as a few dozen ms, which is a bit of a problem.
Started by jmonty General Help and Assistance on using CHDK stable releases
Started by Mike Lee General Discussion and Assistance
Started by axman General Help and Assistance on using CHDK stable releases
Started by andrew.stephens.754365 General Help and Assistance on using CHDK stable releases
Started by reyalp RAW Shooting and Processing