Cameras MBS plugin (canon)

Hi, after years I’m picking up the plugin to drive a canon. I’m having trouble with auto focus.

I would like to launch the autofocus command.

For now, if I send the “TakePicture” constant via “sendCommand”, it is focused and acquires the image.

But what if you just want the focus, without actually taking the picture? (for example, the half-press on the physical camera button)

I try kEdsCameraCommand_DoEvfAf and other, but it not works.

well, I assume you talk about SendCommand in EdsCameraMBS class in our plugins?

The kEdsCameraCommand_DoEvfAf constant documentation says:

Controls auto focus in live view mode.
This command is supported by the EOS 50D or EOS 5D Mark II or later cameras, and only in live view mode.

So is live mode enabled?
Do you get an error after this SendCommand?
Like feature not available?

Yes, EdsCameraMBS

I took a cue from the example proposed with the plugins (using the Timer that extracts the NextFrame), managing to display a sort of Live of the camera (downloading lower resolution preview photos).

No, I don’t get any errors after that. I noticed that, with the Canon application, I can recall an autofocus, so I assume that with the camera I have (Eos 2000D) it is feasible

I read that a

kEdsCameraCommand_ShutterButton_Halfway

must expressly follow

kEdsCameraCommand_ShutterButton_OFF

something moves. But at this point, between the 2 calls, do I have to estimate a minimum useful time? I’m studying it, I don’t know if it helps