Open gosi-at opened 3 years ago
Same issue here with a Nikon z6. Even when --set-config-value=autofocus=On
is set
can you check gphoto2 --get-config focusmode this is the one what determines if autofocus is executed
Label: Focus Mode
Readonly: 1
Type: RADIO
Current: AF-C
Choice: 0 Manual
Choice: 1 AF-S
Choice: 2 AF-C
Choice: 3 Unknown value 8013
END
After switching the Z6 to video mode it seems to work. New output:
Label: Focus Mode
Readonly: 1
Type: RADIO
Current: Unknown value 8013
Choice: 0 Manual
Choice: 1 AF-S
Choice: 2 AF-C
Choice: 3 Unknown value 8013
END
Choice: 3 Unknown value 8013 should be AF-F
Update: Switching to Video mode seems to work for me
I am facing the same issue at the moment. I have to use AF-S. And it is not working. Was there any further investigation done on this issue?
Double check that your in video mode and AFS-A (Auto) or Continues
Unfortunately, I will have to use AF-S. I can't use video mode. So as a workaround, I tried using --set-config autofocusdrive=1 and gp_camera_set_single_config from the library. this appears to be working for me. Tested with Nicon Z6ii.
Describe the bug
gphoto2 is able to capture a image from the Nikon Z 7 but the image is not in focus.
Name the camera gphoto2 --auto-detect Model Port
Nikon Z7 usb:002,003
libgphoto2 and gphoto2 version gphoto2 2.5.23 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.25 standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking
To Reproduce Steps to reproduce the behavior:
Autofocus seems enabled on camera: gphoto2 --get-config autofocus Label: Autofocus
Readonly: 0 Type: RADIO Current: On Choice: 0 On Choice: 1 Off END
but running "/usr/bin/gphoto2 --force-overwrite --capture-image-and-download" takes the picture without focus.
debug file is attached. debug.log.zip
Thanks for looking into it.