Sorry ; off focus...
Should be moved elsewhere.
Should be moved elsewhere.
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote
Say I zero out focus_pos
Quote
If I then say attempt to move back using, say, step size 1, this time how does knowing I moved y micro units help me control the lens return position, as I can not position the lens using the finer units.
To simplify, let's assume that all the moves of
- step size 1 with lens.focus are equal to 7 micro units in length in the image field.
- step size 2 ... moves are equal to 30 micro units in length....
Let's assume there is no hysteresis.
We can then compute the position of the lens in micro units.
If the starting position = 0 micro units
If I ask, say, 7 times a move of step size 2 towards infinity, the position of the lens should be
0 + 7 x 30 = 210 micro units (or -210, if it is negative towards infinity, depending on the lens)
The returned value of focus_pos should then also be 210 micro units.
If I then ask a move of step size 1 towards macro end, the position of the lens should be
210 - 7 = 203 micro units.
Lest's now imagine I want to go to the very precise position of 150 micro units.
I have to go towards macro end by
203 - 150 = 53 micro units.
53 is not a multiple of 7 and
53 is lower than the Lowest Common Multiple (LCM) (in french « plus petit common multiple » PPCM) of 7 and 30
the remainder of the integer division of 53 by 7 is not 0
53 < LCM(7,30)
So it is impossible to go directly to position 150 exactly without changing the direction (the hysteresis would have an effect here because the direction of the move would have to be changed)
I can decide to make a move of 7 or 8 stepsize 1 steps towards macro end.
The position should then be
203 - 7 x 7 = 154 micro units (error = 4 micro units from the target of 150)
or
203 - 8 x 7 = 147 micro units (error = 3 micro units from the target of 150 : better solution)
IMHO those errors are « normal » for such a lens (to be confirmed).
Quote
I see the latest Lua includes focus_pos, but as this is 'only' a get call, am I right in saying it has no lens control value?
Quote
In fact, based on the step 'curves' I've seen in this thread, I'm a little at a loss to see the use of focus_pos.
Quote
Before the log gets saved, you should try to perform the sensor cleaning, so messages about it will get included:
QuoteA good thing for other users : if you agree, I will edit my #155 post and remove the unnecessary warning about not switching on a camera without CF card
Could not reproduce
QuoteI was holding the camera, pushing the buttons,... so there was no stable "object" to lock focus on but as I have not taken care to that, this answer is not binary.
Did the camera have something to lock focus on?
QuoteI thank you A1ex.
Also, please remove the ROM links, as you don't have the permission to redistribute them (see FAQ).
Page created in 0.095 seconds with 13 queries.