I'm not able to trigger the camera when "USB Shot Control" set to Pixhawk and "Shot Interval" set to Fast. It works when it's set to OneShot, but the time per shots seems to be slow (attached log -- sunny day outside). Does the Pixhawk setting only works exclusively with the Tuffwing trigger cable? I'm using the one from mobilexcopter instead, do you think that is a factor?
Setting
"USB Shot Control" to
OneShot will trigger a shot each time the USB +5V level toggles. The "
Shot Interval" setting is ignored. Your
mobilexcopter interface triggers shots in that mode so I think it's working just like the
Tuffwing trigger cable interface. Your hardwarde choice is not an issue.
Are you actually using a Pixhawk controller? In
Pixhawk mode, the script is waiting for a pulse of a certain length to take a shot - if you are not using a Pixhawk you'll need to setup something to get the same pulse width.
It's been a while since I've delved into this, but from what I recall, the only "
Shot Interval" setting that matters in
Pixhawk mode is
Burst - which starts continuous shooting as fast as the camera will cycle when the Pixhawk requests a shot.
Edit 1: You need to jumper your Pixhawk correctly so that your interface cable can get +5V from the middle pin of its connector. Typically this requires getting the +5V from your BEC and connecting it to the middle row of pins of the pixhawk.
Edit 2: took another look at your log - thanks for providing that, it helps a lot. From what I can see, you have tried the following combinations :
| | |
PixHawk | Fast | fail |
PixHawk | Burst | fail |
PixHawk | Fast | fail |
PixHawk | Fast | fail |
OneShot | Fast | slow random shots |
OneShot | Burst | random shots |
On/Off | Fast | fail |
One Shot | Fast | fail |
None | Fast | 3 sec per shot |
PixHawk | Fast | fail |
OneShot | Fast | slow random shots |
Note that shooting never starts in
Pixhawk mode regardless of the shot rate setting. This suggests that the script never sees the required 3 mSec start pulse from the Pixhawk. However, it does seem to see some USB activity as shown by the random shooting in
OneShot mode (it shoots each time it detect the USB signal changing).
So my guess here is that you are not matching the setup of you PixHawk to what the script is expecting to see on the USB +5V line?