Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make camera_trigger_canon_eos_capture "synchronous" #1027

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

axxel
Copy link
Contributor

@axxel axxel commented Sep 23, 2024

This is a draft of a change along the lines of the discussion in #968 (comment) meant to support further discussion of the subject.

After realizing that there is no event sent from the camera to reliably detect the moment the camera is ready again, I went back to the approach that I successfully used for the last 10 years in production.

This allows me to execute the following command on my R8 to capture a total of 4 images in under 2s.

gphoto2 --set-config capturetarget=1
  --set-config aeb="+/- 3"
  --set-config-index drivemode=1
  --set-config shutterspeed=1/500
  --set-config ownername=400
  --trigger-capture
  --set-config aeb=off
  --set-config-index drivemode=0
  --set-config ownername=1
  --trigger-capture

The use of "ownername" is obviously not meant to stay, it was just a quick hack to enable me to pass the int full_press_wait (in ms) parameter into camera_trigger_capture from the command line.

This is a draft of a change along the lines of the discussion in
gphoto#968 (comment)
meant to be able to discuss something like that further.

After realizing that there is no event sent from the camera to reliably
detect the moment the camera is ready again, I went back to the approach
that I successfully used for the last 10 years in production.

This allows me to execute the following command on my R8 to capture a
total of 4 images in under 2s.

gphoto2 --set-config capturetarget=1
  --set-config aeb="+/- 3"
  --set-config-index drivemode=1
  --set-config shutterspeed=1/500
  --set-config ownername=400
  --trigger-capture
  --set-config aeb=off
  --set-config-index drivemode=0
  --set-config ownername=1
  --trigger-capture

The use of "ownername" is obviously not meant to stay, it was just a quick
hack to enable me to pass an sleep_ms parameter into
camera_trigger_capture from the command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant