@c_joerg ML call is this
focus(num_steps[, step_size=2[, wait=true[, delay]]])
Moves the focus motor a specified number of steps.
Only works in LiveView.
Parameters:
num_steps int How many steps to move the focus motor (signed).
step_size int Allowed values: 1, 2 or 3.
Step 1 may give finer movements, but may get stuck or may be very slow on some lenses. (default 2)
wait bool Wait until each focus command finishes, before queueing others.
wait=false may give smoother movements, but may no longer return accurate status for each command, and is known to crash on some cameras. The exact behavior may be camera- or lens-dependent.
Do not disable it without a good reason! (default true)
delay int Delay between focus commands (ms)
With wait=true, the delay is after each focus command is executed (as reported by Canon firmware).
With wait=false, the delay is after each focus command is started (without waiting for it to finish).
(default 0 if wait=true, 30ms if wait=false)
(optional)
Returns:
bool whether the operation was successful or not.