Building a mult-camera rig - page 5 - Hotwire! Hardware Mods, Accessories and Insights - CHDK Forum

Building a mult-camera rig

  • 244 Replies
  • 37615 Views
*

Online reyalp

  • ******
  • 12075
Advertisements
waterwing -  I am having some issue with your mask code
If I open the switch after longer than 5 sec , i receive an error message (about error IO)

This isn't happen if i open the switch shorter time than 5 sec
Please post a screenshot or clear description of the specific error and where it appears.

Is on the camera, is it in chdkptp, is it PC error ?
Don't forget what the H stands for.

waterwings
1. what does "precision sync" ?- can u send me A2500 custom FW with precision sync ?
2. error message attached




Answers for your question

Quote
Do you mean that if you wait after you issue the "shoot" command via PTP for more than 5 seconds you get an error message back from the chdkptp client?  Or just if you open the red wire without shooting?

after shoot command from PC (dont open the switch / disconnect the red wire )


Quote
Does the camera also take a picture when you get the error message ?

Yes , it takes time , the LED on the camera is blinking (BUSY)  for while till it shoot (~50sec)

Quote
Are you certain that the delay you see is 5 seconds and not 10?

7 Sec


1. what does "precision sync" ?- can u send me A2500 custom FW with precision sync ?
You'll probably need modified code to make sure the cameras shoot as exactly the same time (within about 1mSec).  Older cameras worked without the mod, newer cameras need it.   For now it's not important - sync is the least of your challenges.  But we will want to test to be sure it works once you have more than one camera available to do the test.

Quote
after shoot command from PC (dont open the switch / disconnect the red wire )
Sounds like chdkptp is timing out.  I guess it does not like issuing a "shoot" command and not having the shoot happen right away.  reyalp will probably want to answer this one.  I wonder if this happens with really long Tv's too?

Quote
Does the camera also take a picture when you get the error message ?
Quote
Yes , it takes time , the LED on the camera is blinking (BUSY)  for while till it shoot (~50sec)
Need to be a little more precise here.   

If you issue the shoot command via ptp and then just wait (don't open the red wire),  after 7 seconds you get a timeout error message on your PC, and after about 50 seconds the camera completes the shot ?  Is that correct?

The LCD stays blank the whole time as well, right ?

Quote
Are you certain that the delay you see is 5 seconds and not 10?
As this seems to be a chdkptp issue and not the USB remote code timing out, I'll leave it to reyalp to decide if the exact interval is important.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Online reyalp

  • ******
  • 12075
after shoot command from PC (dont open the switch / disconnect the red wire )
get_capture_data is only used with remoteshoot. remoteshoot polls the camera waiting for the data to be available, so it's no surprise you get USB errors.

Despite the name, remoteshoot is not related to the USB remote, it shoots and downloads the image over USB, without saving it to the SD card. Making this work with multiple cameras would be quite complicated, even without the polling issue, so you almost certainly do not want to try to use remoteshoot with a multi camera rig.

If you want to trigger the shot from chdkptp but synchronize with the remote, you are going to need to just send a shoot command and not try to talk to usb until the USB remote part is done.
Don't forget what the H stands for.


How can I connect to all camera using single tread of CHDKPTP ?

what is the command ?

I read about it in the folowong link but didnt understand how

http://chdk.setepontos.com/index.php?topic=8769.0


*

Online reyalp

  • ******
  • 12075
How can I connect to all camera using single tread of CHDKPTP ?

what is the command ?
There is no single command that does this for you. The closest thing is the multicam.lua module. You can find some basic usage information at the top of lua/multicam.lua, but be aware this is not a fully developed solution.

What exactly do you want to do with chdkptp?
Don't forget what the H stands for.

Shoot all camera at once (using USB REMOTE trigger ) , copy pictures to PC

How can I use multicam.lua?

Shoot all camera at once (using USB REMOTE trigger ) , copy pictures to PC
To be precise, if I understand correctly,  using a USB remote switch connected to every camera, and my PTP hacked version of CHDK, what you want to do is :
  • Have your PC issue a command or commands (sequentially or all-at-once) to every camera telling it to start the shooting process.
  • When that is complete, and your subject is ready, you will open the red wire (+5) to complete the shot.
  • Reconnect the red wire.
  • Have your PC connect with each camera and transfer the shot just taken to the hard drive in the PC.
  • When that is complete,  have your PC issue commands (sequentially or all-at-once) to every camera telling then to delete the most recent image.
Ported :   A1200    SD940   G10    Powershot N    G16


exactly

how can I use multicam.lua for this?

how can I use multicam.lua for this?
I've never used multicam.lua - reyalp would be better able to answer that question rather than me trying hack that script.

But did you look at this :  http://chdk.setepontos.com/index.php?topic=11490.msg112688#msg112688  ?
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics