Trap/follow focus choppy movement lens_focus()

Issue #2561 new
Former user created an issue

I'm using the 5D3.113 with a Nightly build June 13 2016. Unfortunately the Trap and Follow focus features from ML do not allow the camera user to make fast and gentely focus distance changes like Canon's firmware does. I don't no if it is a bug or not. If I set up step size 3 using the rack focus feature the focus motor moves fast but in steps like move 90 steps THEN make 100ms pause, repeating until the desired steps are reached. That is far away from a smooth movement. I'm asking myself why does Canon's code make large, smooth and fast focus distance changes and ML's not? Example with a 50mm 1.2 EF L lens from canon, I tested the time until the lens drove over the whole focus range from macro to infinity: without liveview (Canon's code): <1s and super smooth with liveview and rack focus: >3s and very choppy I found this function lens_focus() but I have no clue why it does 100ms breaks while moving the lens motor. Why is that?

Comments (3)

  1. Alex

    Step size 3 does exactly what you described, and this happens in Canon's implementation as well (EOS Utility).

    For smoother movement, try lower step sizes and play with the delays. Disabling the wait flag may also help.

    "why does Canon's code make large, smooth and fast focus distance changes and ML's not?"

    Feel free to reverse engineer how Canon does these movements.

  2. Anonymous

    Thank you for your reply. Actually, I found a Stub called MoveFLens at 0xff53d5f0. I added it to the stubs.S file but I can't call the function, the compiler always says this: error: implicit declaration of function 'MoveFLens' [-Werror=implicit-function-declaration] How should I proceed?

  3. Log in to comment